From 49cc404e5eddf32ac6be303c08055bdebd8ce509 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 20 Jan 2014 01:50:07 +0100 Subject: simplify sizing reverting bits of commits cb2bb1873b8120bd1b3b0dadd0aa9222f336b904 & ee5d25217f323d435e06de59cc091586213d4ab7, reverting back to 2008 situation --- perl-install/diskdrake/hd_gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/diskdrake') diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm index 653320697..c95c465d8 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -330,7 +330,7 @@ sub create_buttons4partitions { if ($w->{window}->get_window) { my $windowwidth = $w->{window}->get_allocated_width; $windowwidth = $::real_windowwidth if $windowwidth <= 1; - $width = $windowwidth - first(get_action_box_size()) - 60; + $width = $windowwidth - first(get_action_box_size()) - 25; } my $ratio = $totalsectors ? ($width - @parts * $minwidth) / $totalsectors : 1; -- cgit v1.2.1