[gnome-themes-standard/wip/jimmac/updated-gtk2: 70/106] Tweaked combobox padding.



commit 8b3c735f3506553b88d21a284e259986be9e6a07
Author: Juraj Fiala <doctorjellyface riseup net>
Date:   Fri Feb 19 19:28:42 2016 +0100

    Tweaked combobox padding.
    
    Messed up the focus on it but what can you do.

 themes/Adwaita/gtk-2.0/main.rc |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/main.rc b/themes/Adwaita/gtk-2.0/main.rc
index 8c413e1..3e1b293 100644
--- a/themes/Adwaita/gtk-2.0/main.rc
+++ b/themes/Adwaita/gtk-2.0/main.rc
@@ -1833,8 +1833,11 @@ style "combobox" {
 
 style "combobox_button" {
 
-  xthickness = 3
-  ythickness = 3
+  xthickness = 6
+  ythickness = 4
+
+  # This affects only the button beside an entry
+  GtkButton::inner-border = {0, 0, 0, 0}
 
 }
 
@@ -2310,6 +2313,7 @@ class "GtkSeparatorMenuItem" style "separator_menu_item"
 class "GtkScrolledWindow"    style "scrolled_window"
 class "GtkFrame"             style "frame"
 class "GtkToolbar"           style "toolbar"
+class "GtkComboBox"          style "combobox"
 
 widget_class "*<GtkMenu>*"                                       style "menu"
 widget_class "*<GtkMenu>*"                                       style "menu_framed_box"
@@ -2317,7 +2321,6 @@ widget_class "*<GtkMenuItem>*"                                   style "menu_ite
 widget_class "*<GtkMenuBar>"                                     style "menubar"
 widget_class "*<GtkMenuBar>.<GtkMenuItem>*"                      style "menubar_item"
 widget_class "*<GtkCheckButton>*"                                style "checkbutton"
-widget_class "*<GtkComboBox>"                                    style "combobox"
 widget_class "*<GtkComboBox>*<GtkButton>"                        style "combobox_button"
 widget_class "*<GtkButton>*<GtkSeparator>"                       style "button_separator"
 widget_class "*<GtkToolbar>*GtkSeparator*"                       style "toolbar_separator"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]