You are not logged in.

#1 2022-03-25 19:42:43

fastrespawn
Member
Registered: 2022-02-24
Posts: 8

GNOME - Change the size of titlebar buttons ?

Gnome 41.5 running on Wayland, I used font scaling factor because the scaling on Display pages does not work properly with everything on Wayland.

However, the titlebar buttons are small. I want to change their CSS properties, however most tricks I found online do not seem to work.

 /usr/share/themes/Adwaita/gtk-3.0/gtk.css

only has one line -

@import url("resource:///org/gtk/libgtk/theme/Adwaita/gtk-contained-dark.css");

. I've tried adding:

 
aderbar entry,
headerbar spinbutton,
headerbar button,
headerbar separator {
    margin-top: 0px; /* same as headerbar side padding for nicer proportions */
    margin-bottom: 0px;
    min-height: 20px;
    min-width: 20px;
    padding: 4px;
}

headerbar {
    min-height: 35px;
    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;
  }

These options seemed to have no effect upon restarting the shell.

How can I edit the buttons size?
KDE's Breeze theme does seem to have a complete .css file, however the only thing I could make work was changing the font color. Which CSS properties can I edit to make these buttons grow?

Offline

Board footer

Powered by FluxBB