From b96d367e4034a28378507aa3390562fa6a6c7412 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 19 Feb 2016 11:06:17 +0100 Subject: [PATCH] fix combobox arrow placement --- common/gtk-3.0/3.20/gtk-dark.css | 5 +++++ common/gtk-3.0/3.20/gtk-darker.css | 5 +++++ common/gtk-3.0/3.20/gtk-solid-dark.css | 5 +++++ common/gtk-3.0/3.20/gtk-solid-darker.css | 5 +++++ common/gtk-3.0/3.20/gtk-solid.css | 5 +++++ common/gtk-3.0/3.20/gtk.css | 5 +++++ common/gtk-3.0/3.20/sass/_common.scss | 6 +++++- 7 files changed, 35 insertions(+), 1 deletion(-) diff --git a/common/gtk-3.0/3.20/gtk-dark.css b/common/gtk-3.0/3.20/gtk-dark.css index 0064813..9be083b 100644 --- a/common/gtk-3.0/3.20/gtk-dark.css +++ b/common/gtk-3.0/3.20/gtk-dark.css @@ -879,6 +879,11 @@ treeview spinbutton entry, treeview spinbutton spinbutton, treeview spinbutton e border-radius: 0; box-shadow: none; } +combobox button.combo { + min-width: 0; + padding-left: 8px; + padding-right: 8px; } + combobox arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); min-height: 16px; diff --git a/common/gtk-3.0/3.20/gtk-darker.css b/common/gtk-3.0/3.20/gtk-darker.css index efd0522..39e6ad1 100644 --- a/common/gtk-3.0/3.20/gtk-darker.css +++ b/common/gtk-3.0/3.20/gtk-darker.css @@ -878,6 +878,11 @@ treeview spinbutton entry, treeview spinbutton spinbutton, treeview spinbutton e border-radius: 0; box-shadow: none; } +combobox button.combo { + min-width: 0; + padding-left: 8px; + padding-right: 8px; } + combobox arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); min-height: 16px; diff --git a/common/gtk-3.0/3.20/gtk-solid-dark.css b/common/gtk-3.0/3.20/gtk-solid-dark.css index 5811788..693e5ed 100644 --- a/common/gtk-3.0/3.20/gtk-solid-dark.css +++ b/common/gtk-3.0/3.20/gtk-solid-dark.css @@ -879,6 +879,11 @@ treeview spinbutton entry, treeview spinbutton spinbutton, treeview spinbutton e border-radius: 0; box-shadow: none; } +combobox button.combo { + min-width: 0; + padding-left: 8px; + padding-right: 8px; } + combobox arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); min-height: 16px; diff --git a/common/gtk-3.0/3.20/gtk-solid-darker.css b/common/gtk-3.0/3.20/gtk-solid-darker.css index 71db1d5..1f1301f 100644 --- a/common/gtk-3.0/3.20/gtk-solid-darker.css +++ b/common/gtk-3.0/3.20/gtk-solid-darker.css @@ -878,6 +878,11 @@ treeview spinbutton entry, treeview spinbutton spinbutton, treeview spinbutton e border-radius: 0; box-shadow: none; } +combobox button.combo { + min-width: 0; + padding-left: 8px; + padding-right: 8px; } + combobox arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); min-height: 16px; diff --git a/common/gtk-3.0/3.20/gtk-solid.css b/common/gtk-3.0/3.20/gtk-solid.css index 8ebb087..c830254 100644 --- a/common/gtk-3.0/3.20/gtk-solid.css +++ b/common/gtk-3.0/3.20/gtk-solid.css @@ -878,6 +878,11 @@ treeview spinbutton entry, treeview spinbutton spinbutton, treeview spinbutton e border-radius: 0; box-shadow: none; } +combobox button.combo { + min-width: 0; + padding-left: 8px; + padding-right: 8px; } + combobox arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); min-height: 16px; diff --git a/common/gtk-3.0/3.20/gtk.css b/common/gtk-3.0/3.20/gtk.css index d43c65f..593c666 100644 --- a/common/gtk-3.0/3.20/gtk.css +++ b/common/gtk-3.0/3.20/gtk.css @@ -878,6 +878,11 @@ treeview spinbutton entry, treeview spinbutton spinbutton, treeview spinbutton e border-radius: 0; box-shadow: none; } +combobox button.combo { + min-width: 0; + padding-left: 8px; + padding-right: 8px; } + combobox arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); min-height: 16px; diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index c5cac11..5a430d3 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -890,7 +890,11 @@ spinbutton { // Comboboxes // combobox { - + button.combo { + min-width: 0; // otherwise the arrow placement is unsymmetric + padding-left: 8px; // + padding-right: 8px // + } arrow { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); min-height: 16px;