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/NEWS | 3 ++- perl-install/diskdrake/hd_gtk.pm | 2 +- perl-install/install/NEWS | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 69a369ae0..55293764c 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,4 +1,5 @@ -- diskdrake: +- diskdrake (mga#12422, mga#11988, mga#14839, mga#15272, mga#15264): + o use an horizontal scrolling bar when needed o workaround too wide togglebuttons with empty label with gtk+3 and/or Adwaita Version 16.56 - 10 February 2015 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 => [ diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index a46b12e3e..a585cbb57 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,4 +1,5 @@ -- partitioning: +- partitioning (mga#12422, mga#11988, mga#14839, mga#15272, mga#15264): + o use an horizontal scrolling bar when needed o workaround too wide togglebuttons with empty label with gtk+3 and/or Adwaita Version 16.61 - 18 February 2015 -- cgit v1.2.1