diff options
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r-- | perl-install/mygtk2.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index d411fc2a2..ccd22522e 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -1198,6 +1198,10 @@ sub _allow_scroll_TextView_to_bottom { }; } +sub get_label_width() { + first(mygtk2::get_main_window_size()) - 50; +} + sub set_main_window_size { my ($window) = @_; my ($width, $height) = $::real_windowwidth ? ($::real_windowwidth, $::real_windowheight) : $::isWizard ? (540, 360) : (600, 400); |