[gtk: 1/2] Adwaita: Align combo menu labels with the combo button label
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] Adwaita: Align combo menu labels with the combo button label
- Date: Mon, 18 May 2020 14:04:59 +0000 (UTC)
commit 538ab75002dc9c6c05b7b5022d399cd98f06c8d6
Author: nana-4 <hnmaigo gmail com>
Date: Mon May 18 21:52:00 2020 +0900
Adwaita: Align combo menu labels with the combo button label
Apply the same left and right padding to the combo menu items as the
combo button.
gtk/theme/Adwaita/_common.scss | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index ab39887d49..410d4509ef 100644
--- 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; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]