Home > Uncategorized > GTK 3 Adwaita tabs are too high

GTK 3 Adwaita tabs are too high

xfce4-terminal is now using GTK 3 in Debian Stretch which gives me tabs looking like:

large_tab
I thinks this is too high for my 768 pixels laptop screen. Fortunately Gtk 3 themes are CSS based and can be easily tweaked. Adding:

notebook tab {
    padding: 0px;
    font-weight: normal;
}

to the ~/.config/gtk-3.0/gtk.css file will change all GtkNodebook widgets so they look like:

small_tab
An easy way to test more CSS rules is using GtkInspector.

EDIT:
This is fixed in xfce4-terminal 0.8.4:

Advertisements
Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s