projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afd5651
)
Adwaita: Align combo menu labels with the combo button label
author
nana-4
<hnmaigo@gmail.com>
Mon, 18 May 2020 12:52:00 +0000
(21:52 +0900)
committer
nana-4
<hnmaigo@gmail.com>
Mon, 18 May 2020 12:52:00 +0000
(21:52 +0900)
Apply the same left and right padding to the combo menu items as the
combo button.
gtk/theme/Adwaita/_common.scss
patch
|
blob
|
history
diff --git
a/gtk/theme/Adwaita/_common.scss
b/gtk/theme/Adwaita/_common.scss
index ab39887d496bed45969dd467da4577c2360c2faa..410d4509efe7f7812e123cdc2d9b785b3eb940a3 100644
(file)
--- a/
gtk/theme/Adwaita/_common.scss
+++ b/
gtk/theme/Adwaita/_common.scss
@@
-1237,6
+1237,12
@@
combobox {
min-width: 16px;
}
+ // align menu labels with the button label
+ > popover.menu > contents modelbutton {
+ padding-left: 9px;
+ padding-right: 9px;
+ }
+
&.linked {
button:nth-child(2) {
&:dir(ltr) { @extend %linked_not_left; }