summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-01 16:28:39 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-01 16:28:39 +0000
commitf5647e17e10a87a233493899492ebf8de933303f (patch)
treebd2cd34f972df7a59387873440d47f93322c1ce6 /perl-install/interactive
parent90b67fb8141bcb31adc0333a0c7e6e4b313a9e1a (diff)
downloaddrakx-f5647e17e10a87a233493899492ebf8de933303f.tar
drakx-f5647e17e10a87a233493899492ebf8de933303f.tar.gz
drakx-f5647e17e10a87a233493899492ebf8de933303f.tar.bz2
drakx-f5647e17e10a87a233493899492ebf8de933303f.tar.xz
drakx-f5647e17e10a87a233493899492ebf8de933303f.zip
(create_widgets_block) fix size of right aligned labels by not adding
them to size group
Diffstat (limited to 'perl-install/interactive')
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 85e503d4b..e575de132 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -632,7 +632,7 @@ sub create_widgets_block {
my $label_w;
if ($e->{label} || !$e->{no_indent}) {
$label_w = gtknew('Label_Left', text_markup => $e->{label} || '',
- size_group => $label_sizegrp, alignment => [ 0, 0.5 ]);
+ if_($e->{alignment} ne 'right', size_group => $label_sizegrp), alignment => [ 0, 0.5 ]);
$realw_sizegrp->add_widget($e->{real_w});
}