diff options
-rw-r--r-- | perl-install/mygtk2.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index 1da429eec..d5aea3fa9 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -355,6 +355,8 @@ sub _gtk__WrappedLabel { _gtk__Label($w, $opts); } +our $left_padding = 20; + sub _gtk__Label_Left { my ($w, $opts) = @_; $opts->{alignment} ||= [ 0, 0 ]; @@ -1221,8 +1223,6 @@ sub get_main_window_size() { my ($width, $height) = $::real_windowwidth ? ($::real_windowwidth, $::real_windowheight) : $::isWizard ? (540, 360) : (600, 400); } -our $left_padding = 20; - # in order to workaround infamous 6 years old gnome bug #101968: sub get_label_width() { first(mygtk2::get_main_window_size()) - 50 - $left_padding; |