gecko-dev/servo
Emilio Cobos Álvarez b18b41c1f7 Bug 1974861 - Stop trying to read titlebar button spacing from the theme. r=stransky
We're getting the spacing from the wrong box (the headerbar, rather than
the button box container). Even with that, some themes would use
additional ways of creating spacing (paddings or margins). So in
practice the 6px between buttons is just incorrect.

Instead, just use the Adwaita spacing. We're using Adwaita styling
anyways, so this makes the headerbar match perfectly in Gnome.

With the Breeze theme (for KDE), this patch is closer than before
(even though personally I might take some time to get used to it).

We can also reduce it back to 6px between buttons in some DEs, if
somebody complains, which is what we're shipping, effectively.

Differential Revision: https://phabricator.services.mozilla.com/D256180
2025-07-08 13:23:52 +00:00
..
components Bug 1974861 - Stop trying to read titlebar button spacing from the theme. r=stransky 2025-07-08 13:23:52 +00:00
ports/geckolib Bug 1855690 - Merge SelectorDependencyCollector and RelativeSelectorInnerDependencyCollector to reduce code duplication. r=dshin 2025-07-04 17:40:24 +00:00
tests/unit Bug 1953984 - Rename servo_atoms crate to stylo_atoms (r=emilio) 2025-03-15 10:50:37 +00:00
moz.build
rustfmt.toml