Non-native theme buttons could be a bit larger
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: evilpie, Assigned: emilio)
References
Details
Attachments
(3 files)
Compared to the GTK buttons the non-native theme version looks kind of bunched together.
Reporter | ||
Comment 1•4 years ago
|
||
Reporter | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Yeah, so this is kind of expected, see bug 1689098. GTK historically has had massive buttons (which cause some compat issues).
By default we have 4px padding on the sides, which matches <select>
. 6px would match Chrome, 8px would match the old unthemed buttons. Does any of those two values look more appealing to you? I think we're unlikely to increase the vertical padding much.
But now that I look at it, we are overriding the border with a 1px border, but other browsers keep the 2px border width from the UA sheet. So that might give us two more pixels vertically as well.
Assignee | ||
Comment 4•4 years ago
|
||
This is slightly unfortunate on one hand because we're technically lying
(but so is chromium and our GTK theme, on the other hand).
It is nice because it means that themed and unthemed controls have the
same size by default though, which seems desirable.
So I'm a bit on the edge here, but I think this is probably the less bad
option to grow our form controls if we want to do it.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 8•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8f869fb94e1b
https://hg.mozilla.org/mozilla-central/rev/c7522a31acf8
https://hg.mozilla.org/mozilla-central/rev/09be0b12f032
Description
•