diff options
author | Erik Troan <ewt@redhat.com> | 2000-05-26 15:43:36 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-05-26 15:43:36 +0000 |
commit | b997e5ee54d05fbbb85d251dfd21f22f00564f3e (patch) | |
tree | 13932664f416c09db4c19648e95db088d9e0e86a /textw/packages_text.py | |
parent | 2aa1d14296098f460b7aa8bb03024fa0e2826423 (diff) | |
download | anaconda-b997e5ee54d05fbbb85d251dfd21f22f00564f3e.tar.gz anaconda-b997e5ee54d05fbbb85d251dfd21f22f00564f3e.tar.xz anaconda-b997e5ee54d05fbbb85d251dfd21f22f00564f3e.zip |
fixed display of package description
Diffstat (limited to 'textw/packages_text.py')
-rw-r--r-- | textw/packages_text.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/textw/packages_text.py b/textw/packages_text.py index 784227e49..3e194e5a5 100644 --- a/textw/packages_text.py +++ b/textw/packages_text.py @@ -87,19 +87,19 @@ class IndividualPackageWindow: sg = Grid(2, 2) bb = ButtonBar (screen, ((_("OK"), "ok"),)) - sg.setField (Label (_("Package:")), 0, 0, (0, 0, 4, 0)) + sg.setField (Label (_("Package :")), 0, 0, (0, 0, 1, 0), anchorLeft = 1) sg.setField (Label ("%s-%s-%s" % (header[rpm.RPMTAG_NAME], header[rpm.RPMTAG_VERSION], header[rpm.RPMTAG_RELEASE])), - 1, 0) - sg.setField (Label (_("Size:")), 0, 1, (0, 0, 4, 0)) + 1, 0, anchorLeft = 1) + sg.setField (Label (_("Size :")), 0, 1, (0, 0, 1, 0), anchorLeft = 1) sg.setField (Label ("%.1f KBytes" % (header[rpm.RPMTAG_SIZE] / 1024.0)), - 1, 1) + 1, 1, anchorLeft= 1) txt = TextboxReflowed(60, self.get_rpm_desc(header), maxHeight = 10) - g = GridFormHelp (screen, header[rpm.RPMTAG_NAME], 1, 3) - g.add (sg, 0, 0, (0, 0, 0, 1)) + g = GridForm (screen, header[rpm.RPMTAG_NAME], 1, 3) + g.add (sg, 0, 0, (0, 0, 0, 1), anchorLeft = 1) g.add (txt, 0, 1, (0, 0, 0, 1)) g.add (bb, 0, 2, growx = 1) |