summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-10-02 03:43:01 +0000
committerJeremy Katz <katzj@redhat.com>2003-10-02 03:43:01 +0000
commit41f8c408bb3d6c06aada8684cf86aa7a29866a35 (patch)
treed1a4d3cc9d4677f16db36ab8b5f011f20f4a5ebe /iw
parent8dd90ec4e6fdb1f088b539d6c21ff71dbc80afe5 (diff)
downloadanaconda-41f8c408bb3d6c06aada8684cf86aa7a29866a35.tar.gz
anaconda-41f8c408bb3d6c06aada8684cf86aa7a29866a35.tar.xz
anaconda-41f8c408bb3d6c06aada8684cf86aa7a29866a35.zip
adjust width/height so that three drives fit without a scroll bar correctly
Diffstat (limited to 'iw')
-rw-r--r--iw/partition_gui.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index 1dfd4b5f1..1cf18bc95 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -46,8 +46,8 @@ from partition_ui_helpers_gui import *
STRIPE_HEIGHT = 32.0
LOGICAL_INSET = 3.0
-CANVAS_WIDTH_800 = 500
-CANVAS_WIDTH_640 = 400
+CANVAS_WIDTH_800 = 490
+CANVAS_WIDTH_640 = 390
CANVAS_HEIGHT = 200
TREE_SPACING = 2
@@ -1383,8 +1383,8 @@ class PartitionWindow(InstallWindow):
sw = gtk.ScrolledWindow(hadjustment = hadj, vadjustment = vadj)
sw.add(self.diskStripeGraph.getCanvas())
sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
- sw.set_shadow_type(gtk.SHADOW_IN)
-
+ sw.set_shadow_type(gtk.SHADOW_IN)
+
frame = gtk.Frame()
frame.add(sw)
vpaned.add1(frame)
@@ -1406,7 +1406,7 @@ class PartitionWindow(InstallWindow):
vpaned.add2(box)
# XXX should probably be set according to height
- vpaned.set_position(170)
+ vpaned.set_position(175)
return vpaned