It seems value "Very small icons" (Preferences > Interface > Toolbar) don't work: size "Very small icons" == size "Small icons", and size of toolbar doesn't change. With GTK2 all icon size values variants works correct. Maybe I'm wrong and it's my (local) problem?
Xubuntu 17.10 x64, Geany 1.32, control files (folder "debian") from [here](https://anonscm.debian.org/git/pkg-geany/packages/geany.git).
Are you running a GTK3 version of Geany?
@elextr yes, I decided to try.
Ok, same happens here with GTK3.
I think it's actually that Gtk3 makes the small toolbar icon size the same as the menu icon size. AFAIK the menu icon size was always 16x16, and this is what Geany uses for "very small icon" in the preferences, so it must be that the small toolbar icon size used to be 24x24 in Gtk2 and is now also 16x16.
In theory it should be possible to change this by editing Gtk3's `settings.ini` file like:
```ini [Settings] ... gtk-icon-sizes=gtk-small-toolbar=24,24 ```
But it doesn't work here.
Ah, as expected, it's [a GNOME-ism](https://git.gnome.org/browse/gtk+/commit/gtk/gtkenums.h?h=gtk-3-22&id=b6...).
Still, the setting I mentioned should work. I only tried it on the file in `~/.config/gtk-3.0`, maybe it would work with the global file.
Removed `bug` label since it's a GTK+ problem. We could probably work around it by using our own constants for icon sizes here instead of using the GTK+ enum.
or we just drop the "very small icons" preference altogether.
It would be sad, I like "very small icons": little space, but still at hand if it would be needed.
![1](https://user-images.githubusercontent.com/6333198/35183784-960102aa-fde3-11e...) (I overdid with PNG optimization, sorry.)
P.S. It seems I'm beginning to dislike GTK3... At all.
It would be sad, I like "very small icons": little space, but still at hand if it would be needed.
Well now that "small icons" are the same size as "very small icons" it's technically more like dropping "small icons". Any difference you see between gtk2 and gtk3 very small icons is probably due to your GTK+ theme (Greybird?), as the icons inside the tool buttons themselves have the same pixel size.
as the icons inside the tool buttons themselves have the same pixel size.
Well, I say "icon size" because we have option ["Icon size"](https://www.geany.org/manual/current/index.html#interface-toolbar-preference...), not "Toolbar size" :)
Just now I don't understand how all it works (for example, why GTK2 support this feature unlike GTK3?), can I will fix it without global change? Or it's not possible?
P.S. For now I returned back on the GTK2-version.
@Skif-off you could try a different GTK+ theme that gives the same padding/margin to both gtk2 and gtk3 tool items.
["GtkSettings:gtk-icon-sizes" has been deprecated since version 3.10 and should not be used in newly-written code. This setting is ignored.](https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-ic...).
Make love, not war @ And not make a habitual toolbar view...
github-comments@lists.geany.org