From 5cb4181c9d1488e4025a5358cea6f1e7fda862a9 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 25 Feb 2000 11:45:13 +0000 Subject: no_comment --- perl-install/install_steps_gtk.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/install_steps_gtk.pm') diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index 520abe4f3..a95249ed9 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -791,7 +791,8 @@ sub create_logo_window() { sub init_sizes() { ($::rootheight, $::rootwidth) = (480, 640); ($::rootheight, $::rootwidth) = my_gtk::gtkroot()->get_size; - ($::stepswidth, $::stepsheight) = (140, $::rootheight); + ($::rootheight, $::rootwidth) = (min(600, $::rootheight), min(800, $::rootwidth)); + ($::stepswidth, $::stepsheight) = (140, $::rootheight); ($::logowidth, $::logoheight) = ($::rootwidth - $::stepswidth, 40); ($::helpwidth, $::helpheight) = ($::rootwidth - $::stepswidth, 100); ($::windowwidth, $::windowheight) = ($::rootwidth - $::stepswidth, $::rootheight - $::helpheight - $::logoheight); -- cgit v1.2.1