From e9a03bf97270ba453a4e30f4b25b462965df8b36 Mon Sep 17 00:00:00 2001 From: damien Date: Thu, 27 Nov 2003 10:29:01 +0000 Subject: added xpadding/ypadding options in create_packtable --- perl-install/ugtk2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index f228b39ff..8a4f27ce2 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -465,7 +465,7 @@ sub create_packtable { ref $_ or $_ = Gtk2::Label->new($_); $j != $#$l && !$options->{mcc} ? $w->attach($_, $j, $j + 1, $i, $i + 1, - 'fill', 'fill', 5, 0) : + 'fill', 'fill', defined $options->{xpadding} ? $options->{xpadding} : 5, $options->{ypadding} || 0) : $w->attach($_, $j, $j + 1, $i, $i + 1, ['expand', 'fill'], ref($_) eq 'Gtk2::ScrolledWindow' || $_->get_data('must_grow') ? ['expand', 'fill'] : [], 0, 0); $_->show; -- cgit v1.2.1