summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/mygtk2.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index d5113614e..825951ef9 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -355,8 +355,6 @@ sub _gtk__WrappedLabel {
_gtk__Label($w, $opts);
}
-our $left_padding = 20;
-
sub _gtk__Label_Left {
my ($w, $opts) = @_;
$opts->{alignment} ||= [ 0, 0 ];
@@ -1223,9 +1221,11 @@ 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()) - 70;
+ first(mygtk2::get_main_window_size()) - 50 - $left_padding;
}
sub set_main_window_size {