From f429b9881d47f6ab882f71ef95e965d32484d37d Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 20 Feb 2004 08:53:31 +0000 Subject: don't force buttons a size related to $::windowwidth since this is no more used to size the main window (fixes missing Next button in vgahi), use a global $::real_windowwidth for sizings related to the main window --- perl-install/ugtk2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/ugtk2.pm') diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index dfa848a38..29f0b4767 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -930,7 +930,7 @@ sub new { } sub set_main_window_size { my ($o) = @_; - my ($width, $height) = $::isInstall ? (576, 418) : $o->{isWizard} ? (540, 360) : (600, 400); + my ($width, $height) = $::isInstall ? ($::real_windowwidth, $::real_windowheight) : $o->{isWizard} ? (540, 360) : (600, 400); $o->{window}->set_size_request($width, $height); } -- cgit v1.2.1