Package: roxterm
Version: 3.1.5-1

I've done some work on fixing the notebook tab bar, <I think> this is
the limit of what you can do in CSS, but there doesn't appear to be
comprehensive documentation on what is possible:

Put the following in '~/.config/gtk-3.0/gtk.css':

===================================================

GtkNotebook {

    /* Remove pointless gap before the first tab */
    -GtkNotebook-initial-gap: 0;

    /* Remove all stupid padding */
    padding: 0 0 0 0;
}

===================================================

For reference I use the 'Xfce' theme which does not have a gtk-3.0
directory itself - so I'm guessing GTK3 widgets fall back to the default
theme.

This gives me an efficient GTK2-style tab bar. The one thing further
that needs improvement is the ellipsize property of the GtkLabel that is
part of the tab (GtkBox -> MultitabLabel -> GtkLabel) - the most
efficient tab naming needs PANGO_ELLIPSIZE_END, so the front of the tab
name is never obscured - please can this be set, or an option?

I'm using GTK Parasite to investigate the GUI construction:
https://chipx86.github.io/gtkparasite/

Thanks

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to