summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/hd_gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-02-19 09:41:04 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-02-19 10:07:35 +0100
commit1d57ba59bedf6fae41301720e71839eb91db3cce (patch)
treea05b8415fa7bf3d7f101aec20260ab0a14a9908b /perl-install/diskdrake/hd_gtk.pm
parent5299ba867274d525787d76f84fbfaaa6ff1b5370 (diff)
downloaddrakx-1d57ba59bedf6fae41301720e71839eb91db3cce.tar
drakx-1d57ba59bedf6fae41301720e71839eb91db3cce.tar.gz
drakx-1d57ba59bedf6fae41301720e71839eb91db3cce.tar.bz2
drakx-1d57ba59bedf6fae41301720e71839eb91db3cce.tar.xz
drakx-1d57ba59bedf6fae41301720e71839eb91db3cce.zip
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)
Diffstat (limited to 'perl-install/diskdrake/hd_gtk.pm')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
1 files changed, 1 insertions, 1 deletions
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 => [