From 2588c5f14fdbef8e8f4ff15f28e3aa5f2feb86eb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 21 Aug 2008 09:38:04 +0000 Subject: (create_buttons4partitions) adjust ratio after latest commit which fixed width computing --- perl-install/diskdrake/hd_gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/diskdrake/hd_gtk.pm') diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm index 888af4630..470d729f7 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -271,7 +271,7 @@ sub create_automatic_notebooks { sub create_buttons4partitions { my ($kind, $totalsectors, @parts) = @_; - $width = max($width, 0.9 * first($w->{window}->window->get_size)) if $w->{window}->window; + $width = max($width, 0.7 * first($w->{window}->window->get_size)) if $w->{window}->window; my $ratio = $totalsectors ? ($width - @parts * $minwidth) / $totalsectors : 1; while (1) { -- cgit v1.2.1