summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-01 15:14:15 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-01 15:14:15 +0000
commit6a5907db93c577a957fb106ce5b3279adfe8d905 (patch)
treed40e8b49ab4bb0a85e0617de801c9bf9eb647bd9 /perl-install/interactive/gtk.pm
parent9b29406c633c912e1fbc11f148f556f0ad205cc1 (diff)
downloaddrakx-6a5907db93c577a957fb106ce5b3279adfe8d905.tar
drakx-6a5907db93c577a957fb106ce5b3279adfe8d905.tar.gz
drakx-6a5907db93c577a957fb106ce5b3279adfe8d905.tar.bz2
drakx-6a5907db93c577a957fb106ce5b3279adfe8d905.tar.xz
drakx-6a5907db93c577a957fb106ce5b3279adfe8d905.zip
(create_widget) fix alignment of check buttons
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r--perl-install/interactive/gtk.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index c34630081..6d3f10c17 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -385,6 +385,11 @@ sub create_widget {
}
$w->signal_connect(clicked => $onchange->(sub { $w->get_active }));
$set = sub { $w->set_active($_[0]) };
+ $real_w = gtknew('HBox', children => [
+ 0, gtknew('Alignment', width => $mygtk2::left_padding),
+ 1, $w
+ ]);
+
} elsif ($e->{type} eq 'only_label') {
$w = $e->{title} ?
gtknew('Title2', label => escape_text_for_TextView_markup_format(${$e->{val}}),