To make the support of 4k-monitors on Windows perfect, only larger toolbar icons would be needed. Maybe a set of the doubled size that simply could be selected in the preferences would be sufficient, if the detection of a 200% zoom level is not possible yet.
AFAICT with the exception of the save all, close all and fallen over bookcase (build, I think its supposed to be a brick?) all the icons are standard ones provided by the GTK theme. The three Geany ones are provided as SVGs so are scalable. GTK only provides the application with settings for sizes default, small, medium and large, and the actual sizes those represent are selected by the GTK theme I believe, not by Geany directly.
What @elextr said (and yes, the icon in question is a brick indeed) and additionally you could try playing with GTK icon sie setting. Create and/or edit the file `C:\Users\enrico.gtkrc-2.0` and play with ``` gtk-icon-sizes = "gtk-large-toolbar=96,96:gtk-small-toolbar=20,20" ``` Basically, this should work. However, I couldn't manage to get it running right now. I guess searching the net and read the GTK docs will help.
@tmssngr was this ever resolved?
I'm struggling to increase the icon size beyond the default "large" option for my install on Windows10 and have yet to find something that worked.
No, it still is present with 1.36 - verified right now.
This is a recorded message, please always provide the version of Geany, Glib and GTK (see lines near the top of Help->Debug Messages) and the operating system and version you are using.
Thanks for the update @tmssngr.
@elextr (and any others it may concern): Windows 10 v.1903 Geany 1.36 GTK+ v.2.24.32 Glib v2.60.6
@AMSEndeavors and @tmssngr did you try the workaround @eht16 gave?
I failed to find a .gtkrc-2.0 file after doing a global search, and after looking in the location suggested by the [Geany manual](https://www.geany.org/manual/current/) - namely the "etc" subdirectory of the Geany install folder (or any other).
I also tried creating a file containing the line noted by @eht16 and saving as ".gtkrc-2.0" to the "etc" subdirectory, which also had no effect. Admittedly, I'm unfamiliar with these files and their structure, so the probability of a PEBKAC error is high.
@AMSEndeavors ok, so ask if its doesn't work, otherwise we don't know :)
I don't use windows, but maybe @eht16 or someone else can provide further help now we know your versions.
This is weird: `gtk_rc_get_default_files()` returns the following paths on Windows: ``` C:\Program Files (x86)\Geany\data\geany.gtkrc C:\Program Files (x86)\Geany\share\gtk-2.0\gtkrc C:\ProgramData\gtk-2.0\gtkrc C:\Program Files (x86)\Geany\etc\gtk-2.0\gtkrc C:\Users\enrico.gtkrc-2.0 ``` According to the documentation, all of these files should read by GTK. However, setting `gtk-icon-sizes` in any of these files doesn't have any effect.
**But** setting `gtk-icon-sizes` in `C:\Program Files (x86)\Geany\share\themes\MS-Windows\gtk-2.0\gtkrc` does work actually.
This file is overridden when you update Geany next time as it is part of the installer, so editing it doesn't make much sense. Instead: Copy the folder `C:\Program Files (x86)\Geany\share\themes\MS-Windows` to `c:\users<username>.themes` and then edit the `gtkrc` file in the new location. For me that worked well. You just need to take care with the `.themes` folder, the leading dot is important but the Windows Explorer to create directories with a leading dot. Creating the folder using the terminal does work.
Awesome, thanks @eht16! That did the trick.
github-comments@lists.geany.org