GNOME 40 Titlebar Resize
Jan 15, 2025

After a recent update on RHEL 9, my titlebar height was extremely small on a 4K display. This CSS file will fix the size of it.

~/.config/gtk-3.0/gtk.css

eaderbar entry,
headerbar spinbutton,
headerbar button,
headerbar separator {
    margin-top: 0px; /* same as headerbar side padding for nicer proportions */
    margin-bottom: 0px;
}

headerbar {
    min-height: 42px;
    padding-left: 2px; /* same as childrens vertical margins for nicer proportions */
    padding-right: 2px;
    margin: 0px; /* same as headerbar side padding for nicer proportions */
    padding: 0px;
}
Comments