[newui] Don't resize the language selection window

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

 



The different length of translated labels caused
the the language selection treeview to be resized
when moving over the languages.
---
 pyanaconda/ui/gui/spokes/welcome.ui |   81 +++++++++++++++++++----------------
 1 file changed, 44 insertions(+), 37 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/welcome.ui b/pyanaconda/ui/gui/spokes/welcome.ui
index 655f9f7..4a31fee 100644
--- a/pyanaconda/ui/gui/spokes/welcome.ui
+++ b/pyanaconda/ui/gui/spokes/welcome.ui
@@ -271,53 +271,60 @@ OS you can rely on.  It's for testing purposes only.</property>
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkScrolledWindow" id="languageWindow">
+                  <object class="GtkAlignment" id="alignment1">
                     <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="hscrollbar_policy">never</property>
-                    <property name="shadow_type">in</property>
+                    <property name="can_focus">False</property>
+                    <property name="xscale">0</property>
                     <child>
-                      <object class="GtkTreeView" id="languageView">
+                      <object class="GtkScrolledWindow" id="languageWindow">
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
-                        <property name="model">languageStore</property>
-                        <property name="headers_visible">False</property>
-                        <property name="search_column">0</property>
-                        <child internal-child="selection">
-                          <object class="GtkTreeSelection" id="languageViewSelection">
-                            <signal name="changed" handler="on_selection_changed" swapped="no"/>
-                          </object>
-                        </child>
+                        <property name="hscrollbar_policy">never</property>
+                        <property name="shadow_type">in</property>
                         <child>
-                          <object class="GtkTreeViewColumn" id="nativeName">
-                            <property name="title" translatable="yes">nativeName</property>
-                            <property name="expand">True</property>
-                            <property name="clickable">True</property>
-                            <property name="sort_column_id">0</property>
+                          <object class="GtkTreeView" id="languageView">
+                            <property name="visible">True</property>
+                            <property name="can_focus">True</property>
+                            <property name="model">languageStore</property>
+                            <property name="headers_visible">False</property>
+                            <property name="search_column">0</property>
+                            <child internal-child="selection">
+                              <object class="GtkTreeSelection" id="treeview-selection">
+                                <signal name="changed" handler="on_selection_changed" swapped="no"/>
+                              </object>
+                            </child>
                             <child>
-                              <object class="GtkCellRendererText" id="nativeNameRenderer">
-                                <property name="font">Sans 14</property>
+                              <object class="GtkTreeViewColumn" id="nativeName">
+                                <property name="title" translatable="yes">nativeName</property>
+                                <property name="expand">True</property>
+                                <property name="clickable">True</property>
+                                <property name="sort_column_id">0</property>
+                                <child>
+                                  <object class="GtkCellRendererText" id="nativeNameRenderer">
+                                    <property name="font">Sans 14</property>
+                                  </object>
+                                  <attributes>
+                                    <attribute name="text">0</attribute>
+                                  </attributes>
+                                </child>
                               </object>
-                              <attributes>
-                                <attribute name="text">0</attribute>
-                              </attributes>
                             </child>
-                          </object>
-                        </child>
-                        <child>
-                          <object class="GtkTreeViewColumn" id="englishName">
-                            <property name="title" translatable="yes">englishName</property>
-                            <property name="expand">True</property>
-                            <property name="clickable">True</property>
-                            <property name="sort_column_id">1</property>
                             <child>
-                              <object class="GtkCellRendererText" id="englishNameRenderer">
-                                <property name="font">Sans Italic 14</property>
-                                <property name="foreground">gray</property>
+                              <object class="GtkTreeViewColumn" id="englishName">
+                                <property name="title" translatable="yes">englishName</property>
+                                <property name="expand">True</property>
+                                <property name="clickable">True</property>
+                                <property name="sort_column_id">1</property>
+                                <child>
+                                  <object class="GtkCellRendererText" id="englishNameRenderer">
+                                    <property name="font">Sans Italic 14</property>
+                                    <property name="foreground">gray</property>
+                                  </object>
+                                  <attributes>
+                                    <attribute name="text">1</attribute>
+                                  </attributes>
+                                </child>
                               </object>
-                              <attributes>
-                                <attribute name="text">1</attribute>
-                              </attributes>
                             </child>
                           </object>
                         </child>
-- 
1.7.9.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux