These CSS changes seem to fix it (on Adwaita at least, but although the `margin: -2px` might not be awesome it should work fairly well in all themes): ```diff $ git diff diff --git a/data/geany-3.20.css b/data/geany-3.20.css index 8388818..92bac80 100644 --- a/data/geany-3.20.css +++ b/data/geany-3.20.css @@ -4,5 +4,6 @@ #geany-close-tab-button { outline-offset: 0; outline-width: 0; - border: 0; + margin: -2px; + margin-left: 0; } diff --git a/data/geany.css b/data/geany.css index 2fb7964..5b7f322 100644 --- a/data/geany.css +++ b/data/geany.css @@ -4,12 +4,14 @@ #geany-close-tab-button { padding: 0; } -#geany-close-tab-button GtkImage { +#geany-close-tab-button GtkImage /* GTK < 3.20 */ , +#geany-close-tab-button image /* GTK >= 3.20 */ { padding: 0; }
/* use monospaced font in search entries for easier reading of regexp (#1907117) */ -#GeanyDialogSearch GtkEntry { +#GeanyDialogSearch GtkEntry /* GTK < 3.20 */, +#GeanyDialogSearch entry /* GTK >= 3.20 */ { font-family: monospace; }
``` It's a bit annoying widget names don't work at all anymore, but well.
With Adwaita, this makes the button scale down to about 16px just fine, and it makes it possible to set the `min-height` on `notebook tabs tab` to `0` without the button messing with the sizes -- at no font size the mutton is what limits the tab minimum height.
--- 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/pull/994#issuecomment-212161379