summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-02-25 11:45:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-02-25 11:45:13 +0000
commit5cb4181c9d1488e4025a5358cea6f1e7fda862a9 (patch)
tree8abc36efbe5b5bed3f7c7dd37f5a054be58b8856 /perl-install/install_steps_gtk.pm
parent6c10593611f0375bce2c5fdf1b55c9be03f9c734 (diff)
downloaddrakx-5cb4181c9d1488e4025a5358cea6f1e7fda862a9.tar
drakx-5cb4181c9d1488e4025a5358cea6f1e7fda862a9.tar.gz
drakx-5cb4181c9d1488e4025a5358cea6f1e7fda862a9.tar.bz2
drakx-5cb4181c9d1488e4025a5358cea6f1e7fda862a9.tar.xz
drakx-5cb4181c9d1488e4025a5358cea6f1e7fda862a9.zip
no_comment
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm3
1 files changed, 2 insertions, 1 deletions
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);