[gtk+] color editor: Ensure spin buttons are wide enough



commit a80b55527422d6d90b4ca52bd58954ae4bb7164d
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jan 23 18:26:09 2016 -0500

    color editor: Ensure spin buttons are wide enough
    
    If we don't explicitly ask for 2 chars to be visible, we might
    get less, and it doesn't look great.

 gtk/ui/gtkcoloreditor.ui |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/gtk/ui/gtkcoloreditor.ui b/gtk/ui/gtkcoloreditor.ui
index c0d91eb..1c3e971 100644
--- a/gtk/ui/gtkcoloreditor.ui
+++ b/gtk/ui/gtkcoloreditor.ui
@@ -161,8 +161,8 @@
           <object class="GtkSpinButton" id="a_entry">
             <property name="visible">1</property>
             <property name="can_focus">1</property>
-            <property name="invisible_char">•</property>
-            <property name="invisible_char_set">1</property>
+            <property name="width-chars">2</property>
+            <property name="max-width-chars">2</property>
             <property name="climb_rate">1</property>
             <child internal-child="accessible">
               <object class="AtkObject" id="a_entry-atkobject">
@@ -208,8 +208,8 @@
           <object class="GtkSpinButton" id="h_entry">
             <property name="visible">1</property>
             <property name="can_focus">1</property>
-            <property name="invisible_char">•</property>
-            <property name="invisible_char_set">1</property>
+            <property name="width-chars">2</property>
+            <property name="max-width-chars">2</property>
             <property name="climb_rate">1</property>
             <child internal-child="accessible">
               <object class="AtkObject" id="h_entry-atkobject">
@@ -266,7 +266,8 @@
           <object class="GtkSpinButton" id="s_entry">
             <property name="visible">1</property>
             <property name="can_focus">1</property>
-            <property name="invisible_char">•</property>
+            <property name="width-chars">2</property>
+            <property name="max-width-chars">2</property>
             <property name="climb_rate">1</property>
             <child internal-child="accessible">
               <object class="AtkObject" id="s_entry-atkobject">
@@ -284,8 +285,8 @@
           <object class="GtkSpinButton" id="v_entry">
             <property name="visible">1</property>
             <property name="can_focus">1</property>
-            <property name="invisible_char">•</property>
-            <property name="invisible_char_set">1</property>
+            <property name="width-chars">2</property>
+            <property name="max-width-chars">2</property>
             <property name="climb_rate">1</property>
             <child internal-child="accessible">
               <object class="AtkObject" id="v_entry-atkobject">


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