[master 2/2] Wrap device labels earlier (#1212586)

dashea installerbot-noreply at redhat.com
Mon May 4 16:39:36 UTC 2015


From: David Shea <dshea at redhat.com>

A minimum width of 35 in the device label causes problems with smaller
resolutions (800x600). Remove width_chars so that the label wraps
earlier than the max width if it needs to, and change the wrap mode from
word to word-char to ensure that device names with extra long words
get wrapped ugly instead of causing layout issues.
---
 pyanaconda/ui/gui/spokes/custom.glade | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.glade b/pyanaconda/ui/gui/spokes/custom.glade
index 6b2b5c8..dc94a40 100644
--- a/pyanaconda/ui/gui/spokes/custom.glade
+++ b/pyanaconda/ui/gui/spokes/custom.glade
@@ -518,7 +518,7 @@
                                                 <property name="valign">start</property>
                                                 <property name="xalign">0</property>
                                                 <property name="wrap">True</property>
-                                                <property name="width_chars">35</property>
+                                                <property name="wrap_mode">word-char</property>
                                                 <property name="max_width_chars">35</property>
                                               </object>
                                               <packing>


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


More information about the anaconda-patches mailing list