Bug 461759 - autopart_type drop-down list labels wrapping
Summary: autopart_type drop-down list labels wrapping
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F10Target
TreeView+ depends on / blocked
 
Reported: 2008-09-10 13:00 UTC by James Laska
Modified: 2013-09-02 06:27 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-09-10 13:35:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Autopart drop down list (screenshot) (55.03 KB, image/png)
2008-09-10 13:00 UTC, James Laska
no flags Details
Screenshot after applying patch in updates.img (52.40 KB, image/png)
2008-09-10 13:15 UTC, James Laska
no flags Details

Description James Laska 2008-09-10 13:00:41 UTC
Created attachment 316311 [details]
Autopart drop down list (screenshot)

Description of problem:

On the partitioning screen, the drop-down list text wraps the labels even when space is available.  The only related change appears to have tried to address a similar issue for RHEL5 in commit b10467a573310a25fbe31f79ebbf166fded15042 to address bug#221791.  Should the width's be increased?

Version-Release number of selected component (if applicable):
anaconda-11.4.1.33-1.i386

Actual results:

See screenshot

Expected results:


Additional info:

Comment 1 James Laska 2008-09-10 13:15:40 UTC
Created attachment 316312 [details]
Screenshot after applying patch in updates.img

If I change back the layout width as seen below ...

diff --git a/iw/autopart_type.py b/iw/autopart_type.py
index c1366f7..902497f 100644
--- a/iw/autopart_type.py
+++ b/iw/autopart_type.py
@@ -396,8 +396,8 @@ class PartitionTypeWindow(InstallWindow):
         cell = gtk.CellRendererText()
         self.combo.pack_start(cell, True)
         self.combo.set_attributes(cell, text = 0)
-        cell.set_property("wrap-width", 455)
-        self.combo.set_size_request(480, -1)
+        cell.set_property("wrap-width", 495)
+        self.combo.set_size_request(500, -1)
 
         store = gtk.TreeStore(gobject.TYPE_STRING, gobject.TYPE_INT)
         self.combo.set_model(store)

The drop-down list labels display as one line each.

Comment 2 Chris Lumens 2008-09-10 13:35:01 UTC
Thanks for the patch.  I think this was caused by a commit from the rhel5-branch I brought forward but shouldn't have.


Note You need to log in before you can comment on or make changes to this bug.