[master 1/3] Make reclaim work with small screens and big labels

dashea installerbot-noreply at redhat.com
Tue Nov 3 16:01:41 UTC 2015


From: David Shea <dshea at redhat.com>

Allow the reclaim window to scroll horizontally since, just as a for
instance, sometimes the label we're trying to display got set to "Red
Hat Enterprise Linux Server 7.2 for ppc64le" which does not fit in the
tiny windows that the system I just described insists upon using. Also
also the disk label column to be shrunk in case the user doesn't care
about all of that.
---
 pyanaconda/ui/gui/spokes/lib/resize.glade | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/lib/resize.glade b/pyanaconda/ui/gui/spokes/lib/resize.glade
index 4bb8f0e..42e5a1d 100644
--- a/pyanaconda/ui/gui/spokes/lib/resize.glade
+++ b/pyanaconda/ui/gui/spokes/lib/resize.glade
@@ -100,8 +100,8 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="margin_bottom">6</property>
-                <property name="xalign">0</property>
                 <property name="label" translatable="yes">RECLAIM DISK SPACE</property>
+                <property name="xalign">0</property>
                 <attributes>
                   <attribute name="weight" value="bold"/>
                 </attributes>
@@ -117,9 +117,9 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="margin_bottom">6</property>
-                <property name="xalign">0</property>
                 <property name="label" translatable="yes">Description goes here.</property>
                 <property name="wrap">True</property>
+                <property name="xalign">0</property>
               </object>
               <packing>
                 <property name="expand">False</property>
@@ -131,7 +131,6 @@
               <object class="GtkScrolledWindow" id="scrolledwindow1">
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
-                <property name="hscrollbar_policy">never</property>
                 <property name="shadow_type">in</property>
                 <child>
                   <object class="GtkTreeView" id="diskView">
@@ -149,6 +148,7 @@
                     </child>
                     <child>
                       <object class="GtkTreeViewColumn" id="diskColumn">
+                        <property name="resizable">True</property>
                         <property name="title" translatable="yes">Disk</property>
                         <child>
                           <object class="GtkCellRendererText" id="diskRenderer"/>


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/a6e392addbce087f6f5fe7b3019b500e7b1f1b72


More information about the anaconda-patches mailing list