gadenbuie / rsthemes

🔮 Full RStudio IDE and Syntax Themes
https://www.garrickadenbuie.com/project/rsthemes/
Other
593 stars 44 forks source link

Fix check boxes in Global options menus #51

Closed CLRafaelR closed 3 years ago

CLRafaelR commented 3 years ago

Problem

Similar to #39. The ballot boxes in Global Options are automatically ticked and untickable in "Night Owl" and "Horizon Dark". I suspect that the problem may affect every theme whose "Options" window uses different theme from the default/original "Options" window theme.

For instance, "Night Owl"'s "Options" uses a navy window unlike the default, white window, as demonstrated in the following screen capture. Actually I untick "Soft-wrap R source files", "Continue comment when inserting new line" and "Focus console after executing from source", but, as shown in the picture, the menu window still shows ☑️ on these options.

image

In "GitHub" theme, however, the unticked options are correctly marked with a blank box, ☐. I think this is because the theme inherits the default window.

image

In "Flat White", turning-on an option is indicated as a box with a bold check (☑️) and turning-off an option is indicated as a box with a non-bold check (Wrongly ☑️; This should be ☐).

image

Environment

RStudio 1.4.869 on Windows 10 x86_64-w64-mingw32/x64 (64-bit)

Tools > Global Options... > (See any check-boxes)

gadenbuie commented 3 years ago

Thanks for the detailed report. Can you confirm that you're using the latest version of the themes? To update themes, install the latest package from GitHub, run install_rsthemes(), and restart RStudio.

CLRafaelR commented 3 years ago

I used Ver 0.1.0 (sorry for omitting the version info) when I reported the issue. After I updated the rsthemes to Ver. 0.2.1.9000, the problem is now all resolved. Thank you for your comment. I close this issue.