From 311a3b0293a150d84c629bd265152a4e87e96107 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 20 Apr 2015 17:05:22 +0000 Subject: Making the resizing handle wider --- perl-install/fs/partitioning_wizard.pm | 3 +++ perl-install/install/NEWS | 1 + perl-install/share/themes-galaxy.css | 10 ++++++++++ 3 files changed, 14 insertions(+) (limited to 'perl-install') diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index 72e3eb8f0..ded804131 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -351,6 +351,9 @@ sub create_display_box { $hpane->pack1($part_widget, 1, 0); $hpane->pack2($mdv_widget, 1, 0); $hpane->set_position(ceil($ratio * $entry->{req_size})); + # $hpane->set_wide_handle will only be added in Gtk 3.16 + $style_context = $hpane->get_style_context(); + $style_context->add_class("wide"); ugtk3::gtkset_size_request($hpane, $entry->{width}, 0); ugtk3::gtkpack__($display_box, $hpane); diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 91dba137a..5f3f1a3e6 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -8,6 +8,7 @@ Version 16.86 - 20 April 2015 o suggest up to 20GB/20% of the windows partition (whichever is larger), previously 6GB/10% (mga#15589) o hide empty space < 2MB, we have such holes due to alignment (mga#15733) + o improve the display box (mga#15728) - speed up reading of flags from GPT partition table (mga#15621). Version 16.84 - 14 April 2015 diff --git a/perl-install/share/themes-galaxy.css b/perl-install/share/themes-galaxy.css index 6540b30c8..21d1783ae 100644 --- a/perl-install/share/themes-galaxy.css +++ b/perl-install/share/themes-galaxy.css @@ -29,3 +29,13 @@ background-color: #2859B5; color: #FFD200; } + +GtkPaned.wide { + -GtkPaned-handle-size: 5; + margin: 0; } + GtkPaned.wide .pane-separator { + border-style: none solid; + border-color: #a1a1a1; + border-width: 1px; } + GtkPaned.wide .pane-separator:backdrop { + border-color: #a8a8a8; } -- cgit v1.2.1