[gnome-control-center/wip/gbsneto/keyboard-improvements: 22/22] keyboard: fix list width with latest Gtk+



commit d1c6de4b354d3d3b3448ece711363665a766b934
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Aug 31 22:20:01 2016 -0300

    keyboard: fix list width with latest Gtk+
    
    Gtk+ changed again the behavior of the scrolled window,
    fixing the weird height issue but introducing a new issue
    where the keyboard shortcut list doesn't expand horizontally.
    
    Fortunately, this is easily solvable with the newly
    introduced GtkScrolledWindow:propagate-natural-width property.
    
    Fix the misbehavior by setting the new property.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769314

 panels/keyboard/gnome-keyboard-panel.ui |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/keyboard/gnome-keyboard-panel.ui b/panels/keyboard/gnome-keyboard-panel.ui
index 51ea9f7..10d3a65 100644
--- a/panels/keyboard/gnome-keyboard-panel.ui
+++ b/panels/keyboard/gnome-keyboard-panel.ui
@@ -40,6 +40,7 @@
             <property name="hexpand">True</property>
             <property name="vexpand">True</property>
             <property name="hscrollbar_policy">never</property>
+            <property name="propagate_natural_width">True</property>
             <property name="shadow_type">in</property>
             <property name="border_width">18</property>
             <child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]