Re: [Github-comments] [geany/geany] Toolbar Icons Spacing Painfully Wide with Gtk+3 on openSuSE (#1825)
> Any sane defaults you can set in geany.css that makes the icon spacing and > widgets heights more theme agnostic In this era of hidpi screens and HD screens and plain screens, probably not while everything is done in pixels, you are likely to get icons teeny on one screen and huge on another. And it will override the theme, and as I said, my Mint is fairly sane out of the box, so I wouldn't want Geany to override it. As I have always said, allowing themes to mess with the look and feel of your app is a bad idea, what would they know about how its meant to work (and in fact would they even know of its existence). Of course not, so how do they theme it, and who says Gimp wants things laid out the same as Geany as Inkscape? grumble mumble :grin: -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1825#issuecomment-416133678
Re: [Github-comments] [geany/geany] Toolbar Icons Spacing Painfully Wide with Gtk+3 on openSuSE (#1825)
I will try that. The SuSE .spec file uses GTK3 by default, but that causes the icons to run off the right side of the toolbar, so I generally rebuild Geany with GTK2 so it looks right. There are about 1000 good GTK2 themes that work well with Geany, I have yet to find one acceptable GTK3 theme (that goes to the whole complexity issue of the GTK3/css themes compared to the GTK2 themes -- which means virtually no one puts out GTK3 themes where in the past thousands of people made good quality GTK2 themes and made them available via Gnome-Look, etc..) I will definitely work with the geany.css. The problem has always been that icon spacing generally aren't handled and the GTK3 defaults are abysmal. While I am familiar with the .gtkrc adjustments as they have been well documented for years, the GTK3 and the css used has been somewhat of a moving target and black box for non GTK programmers. Finding the css setting to fix, e.g., the GTK3 statusbar height, input widget height and icons spacing has been a mystery. Thank you again. Any sane defaults you can set in geany.css that makes the icon spacing and widgets heights more theme agnostic so whether they fit within the window is a bit of GTK3 theme Russian Roulette, the better it will be. I tried all the GTK3 themes I could find on SuSE and geany was still a mess compared with the GTK2 defaults (literally any GTK2 theme made all the widgets fit) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1825#issuecomment-416129112
Re: [Github-comments] [geany/geany] Toolbar Icons Spacing Painfully Wide with Gtk+3 on openSuSE (#1825)
@drankinatty Isn't the Suse distribution of Geany a GTK3 one? I had presumed it was. If it is there is no real need for you to build your own, just manipulate the CSS (not .gtkrc, thats GTK2) that controls the theme. Geany does load its own CSS from `geany.css` in the config directory (default ~/.config/geany) You could look at the CSSes that control things in Mint https://github.com/linuxmint but they are pretty complex, I only looked at them once and gave up, so I can understand why a KDE focused distro simply provides the GTK basics, sadly yeah Adwaita. But as #1746 says the range of sizes has been reduced by GTK3 too. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1825#issuecomment-416025351
Re: [Github-comments] [geany/geany] Toolbar Icons Spacing Painfully Wide with Gtk+3 on openSuSE (#1825)
I'll have to build the current code and see how it looks on SuSE. If Adwaita is dead-tortoise, then that is what you get. The problem is primarily a themes issue, but it seems like a .gtkrc for the gtk3 builds of Geany may be able to minimize the damage. Having all the toolbar icons scroll of the right of the editor window and be ellipsized is just awkward. Thank you for your help here. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1825#issuecomment-416023205
Re: [Github-comments] [geany/geany] Toolbar Icons Spacing Painfully Wide with Gtk+3 on openSuSE (#1825)
Well, the toolbar spacing and size is fine on Mint with any of their themes, probably being a KDE distro suse doesn't care so much for GTK themes. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1825#issuecomment-415994334
Re: [Github-comments] [geany/geany] Toolbar Icons Spacing Painfully Wide with Gtk+3 on openSuSE (#1825)
@codebrainz Ok, thanks. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1825#issuecomment-415984760
Re: [Github-comments] [geany/geany] Toolbar Icons Spacing Painfully Wide with Gtk+3 on openSuSE (#1825)
@vstepaniuk I don't know much GTK+ CSS and it's probably specific to the version of GTK+ 3 since CSS is unstable and changed at many different versions. A search [like this](https://www.google.ca/search?q=gtk+css+reduce+padding) seems to have a fair bit of info though. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1825#issuecomment-415437248
Re: [Github-comments] [geany/geany] Toolbar Icons Spacing Painfully Wide with Gtk+3 on openSuSE (#1825)
@codebrainz, could you explain how to change the height of the toolbar and status bar with GTK+ CSS/theme? The "small" icon size is fine, but there is too much space around these icons. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1825#issuecomment-415366758
Re: [Github-comments] [geany/geany] Toolbar Icons Spacing Painfully Wide with Gtk+3 on openSuSE (#1825)
Thanks codebrainz, I just went ahead and rebuilt it with Gtk+2, and everything is perfect without having to mess with any CSS, etc. I cannot find any Gtk+3 theme that makes Geany usable in the limited space of a VM. All Gtk+2 themes are fine. Here is the comparison screenshot. All buttons fit with "Room to Spare": [Screenshot on OpenSuSE Leap 15 Beta (Gtk+2)](http://paste.opensuse.org/14174908) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1825#issuecomment-381472269
Re: [Github-comments] [geany/geany] Toolbar Icons Spacing Painfully Wide with Gtk+3 on openSuSE (#1825)
@drankinatty you can reduce the spacing by changing the GTK+ CSS/theme (outside the scope of Geany). But also a possible simple workaround if you weren't aware: you can customize the layout of the toolbar, so if there are more important items being overflowed, you can move them forward in the toolbar so they don't overflow. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1825#issuecomment-381289588
Re: [Github-comments] [geany/geany] Toolbar Icons Spacing Painfully Wide with Gtk+3 on openSuSE (#1825)
Closed as duplicate as @Skif-off pointed out. Also as #1746 says its a GTK problem, not one we necessarily can fix. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1825#issuecomment-381288078
Re: [Github-comments] [geany/geany] Toolbar Icons Spacing Painfully Wide with Gtk+3 on openSuSE (#1825)
Closed #1825. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1825#event-1574328892
Re: [Github-comments] [geany/geany] Toolbar Icons Spacing Painfully Wide with Gtk+3 on openSuSE (#1825)
Here is a screenshot of the problem: [Screenshot on OpenSuSE Leap 15 Beta - Build 187.1](http://paste.opensuse.org/6652) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1825#issuecomment-381287055
Re: [Github-comments] [geany/geany] Toolbar Icons Spacing Painfully Wide with Gtk+3 on openSuSE (#1825)
Same problem: [#1746](https://github.com/geany/geany/issues/1746) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1825#issuecomment-381286432