[gnome-themes-standard] combobox: fix text being cut on the right end side



commit fab29915745d920a2fa6140f1fdb2199efce8e45
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Nov 30 21:19:44 2011 -0500

    combobox: fix text being cut on the right end side
    
    Tweak the padding to fix text being cut. It looks like something's wrong
    in GtkComboBox's allocations though.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 097526c..91b7065 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -397,7 +397,8 @@ GtkScrolledWindow.frame {
  * Buttons *
  ***********/
 .button,
-.button.menuitem.menubar {
+.button.menuitem.menubar,
+GtkComboBox.combobox-entry .button {
     padding: 2 5;
 }
 
@@ -797,6 +798,7 @@ GtkLinkButton * {
  **************/
 GtkComboBox {
     padding: 0;
+    padding-right: 6;
     -GtkWidget-focus-padding: 0;
     -GtkWidget-focus-line-width: 0;
 
@@ -806,6 +808,10 @@ GtkComboBox {
     text-shadow: @button_text_shadow 0 1;
 }
 
+GtkComboBox.combobox-entry {
+    padding-right: 0;
+}
+
 GtkComboBox *:insensitive {
     text-shadow: none;
 }
@@ -878,6 +884,7 @@ GtkComboBox.combobox-entry .button *:active:hover {
 }
 
 GtkComboBox .button {
+    padding-right: 0;
     color: @internal_element_color;
 }
 



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