From 1b3c0dc933ed870737643f5becc6084caa78e8a2 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 1 Jul 2003 06:34:47 +0000 Subject: let harddrake gui fit better when embedded --- perl-install/standalone/harddrake2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2 index 37c05b2f6..84fede8a8 100755 --- a/perl-install/standalone/harddrake2 +++ b/perl-install/standalone/harddrake2 @@ -153,7 +153,7 @@ my ($statusbar, $sig_id); $w->{window}->add(gtkpack_(0, Gtk2::VBox->new(0, 0), if_(!$::isEmbedded, 0, $menubar), 1, create_hpaned(gtkadd(Gtk2::Frame->new(N("Detected hardware")), - create_scrolled_window(gtkset_size_request(my $tree = Gtk2::TreeView->new_with_model($tree_model), 350, -1))), + create_scrolled_window(gtkset_size_request(my $tree = Gtk2::TreeView->new_with_model($tree_model), $::isEmbedded ? 250 : 350, -1), ['automatic', 'automatic'] )), gtkpack_(0, Gtk2::VBox->new(0, 0), 1, gtkadd(my $frame = Gtk2::Frame->new(N("Information")), create_scrolled_window(my $text = Gtk2::TextView->new)), @@ -175,7 +175,6 @@ $w->{window}->add(gtkpack_(0, Gtk2::VBox->new(0, 0), } }) ), - ('resize1' => 0, shrink1 => 1, resize2 => 0, shrink2 => 1) ), 0, $statusbar = Gtk2::Statusbar->new, if_($::isEmbedded, 0, gtkpack(create_hbox(), -- cgit v1.2.1