gecko-dev/servo/components
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
..
malloc_size_of Bug 1974580 - Separate NthSelectorData and AnPlusB data structures r=emilio 2025-06-30 19:23:45 +00:00
selectors Bug 1974580 - Separate NthSelectorData and AnPlusB data structures r=emilio 2025-06-30 19:23:45 +00:00
servo_arc
style Bug 1974861 - Stop trying to read titlebar button spacing from the theme. r=stransky 2025-07-08 13:23:52 +00:00
style_derive Bug 1957541: Enable publishing for all Stylo crates (r=firefox-style-system-reviewers,emilio) 2025-04-02 18:46:02 +00:00
style_traits Bug 1957541: Enable publishing for all Stylo crates (r=firefox-style-system-reviewers,emilio) 2025-04-02 18:46:02 +00:00
to_shmem
to_shmem_derive