To be concrete

1) there is the "button" widget in gtk. You can style it in your global css 
like Adwaita or Yaru by styling button { padding: ... ; }
Sometimes gtk apps use custom widgets that are either not buttons, or their 
styling is styled in the IN-APP css. This means that often we are locked out. 
The gtk devs can decide if their styling can be overwritten by the global css 
theme or not. Sadly, often you can NOT overwrite it in the global css. So gtk 
app devs use a custom widget and LOOK up the exact padding (in pixels or em) in 
the Adwaita upstream gtk, because this is their reference. Then they put this 
exact padding in their in-app css and stuff like this is happening: 
https://github.com/ubuntu/yaru/issues/2360
https://github.com/ubuntu/yaru/issues/2357

This also means, that everytime a gtk app introduces a new widget that
is not covered by the global upstream CSS theme (which yaru copies 90%,
except colors and the dark headerbar), a different padding than the
upstream padding automatically breaks the app (and only if the app devs
allows it, you can overwrite it).

2) I hope you do not misunderstand the current problem with gnome-clocks
and gnome-web having a completely stretched headerbar, this happens with
and without slim or adwaita padding.

Also please open such discussion issues on github. This is the wrong
place.

** Bug watch added: github.com/ubuntu/yaru/issues #2360
   https://github.com/ubuntu/yaru/issues/2360

** Bug watch added: github.com/ubuntu/yaru/issues #2357
   https://github.com/ubuntu/yaru/issues/2357

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898141

Title:
  Padding in all buttons regressed and is much bigger

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/yaru-theme/+bug/1898141/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to