[PATCH 1/2] Set minimal width request for the locales box

Vratislav Podzimek vpodzime at redhat.com
Wed Sep 11 13:45:46 UTC 2013


This prevents it from growing and shrinking when different languages are
selected.

Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
 pyanaconda/ui/gui/spokes/langsupport.glade | 1 +
 pyanaconda/ui/gui/spokes/welcome.glade     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/pyanaconda/ui/gui/spokes/langsupport.glade b/pyanaconda/ui/gui/spokes/langsupport.glade
index 6727c9b..8e890df 100644
--- a/pyanaconda/ui/gui/spokes/langsupport.glade
+++ b/pyanaconda/ui/gui/spokes/langsupport.glade
@@ -192,6 +192,7 @@
                         <property name="shadow_type">in</property>
                         <child>
                           <object class="GtkTreeView" id="localeView">
+                            <property name="width_request">300</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                             <property name="hexpand">True</property>
diff --git a/pyanaconda/ui/gui/spokes/welcome.glade b/pyanaconda/ui/gui/spokes/welcome.glade
index da6d7ae..bdacd32 100644
--- a/pyanaconda/ui/gui/spokes/welcome.glade
+++ b/pyanaconda/ui/gui/spokes/welcome.glade
@@ -469,6 +469,7 @@
                         <property name="shadow_type">in</property>
                         <child>
                           <object class="GtkTreeView" id="localeView">
+                            <property name="width_request">300</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                             <property name="hexpand">True</property>
-- 
1.7.11.7



More information about the anaconda-patches mailing list