From 1d57ba59bedf6fae41301720e71839eb91db3cce Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 19 Feb 2015 09:41:04 +0100 Subject: use an horizontal scrolling bar when needed gtk+ sometimes doesn't respect our sizing which causes the container to enlarge (see previous commit) with previous commit, this reduce the risk of having too small buttons, and fixes several issues in the installer: - buttons being too big causing their box & thus the dialog to increase which triggers a gtk+ bug which makes the window to jump (mga#12422) - as well as several other related issues (mga#11988, mga#14839, mga#15272, mga#15264) --- 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 a2a791cf7..72ffa324c 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -179,7 +179,7 @@ sub add_kind2notebook { $kind->{info_box} = Gtk3::VBox->new(0,0); my $box = gtkpack_(Gtk3::VBox->new(0,7), - 0, $kind->{display_box}, + 0, create_scrolled_window($kind->{display_box}, [ 'automatic', 'never' ]), 0, filesystems_button_box(), 1, $kind->{info_box}); $kind->{main_box} = gtknew('HBox', spacing => 5, children => [ -- cgit v1.2.1