diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2016-08-31 22:20:01 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2016-09-06 12:43:11 -0300 |
commit | e2e9910061ea92e3b9155120634c531c8ffc4d30 (patch) | |
tree | 691ae9206aab55c39d49d9b8a8024449573fc723 | |
parent | 93ffefdec01498ba88f052d4d5e563f8e5d6b288 (diff) | |
download | gnome-control-center-wip/gbsneto/keyboard-improvements.tar.gz |
keyboard: fix list sizes with latest Gtk+wip/gbsneto/keyboard-improvements
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
nor allocates the correct size vertically.
Fortunately, this is easily solvable with the newly introduced
GtkScrolledWindow:propagate-natural-width and -height
properties.
Fix the misbehavior by setting the new properties to sane
values.
https://bugzilla.gnome.org/show_bug.cgi?id=769314
-rw-r--r-- | panels/keyboard/gnome-keyboard-panel.ui | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/panels/keyboard/gnome-keyboard-panel.ui b/panels/keyboard/gnome-keyboard-panel.ui index 80d358ba0..695f3ee3f 100644 --- a/panels/keyboard/gnome-keyboard-panel.ui +++ b/panels/keyboard/gnome-keyboard-panel.ui @@ -39,6 +39,9 @@ <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="propagate_natural_height">True</property> + <property name="max_content_height">350</property> <property name="shadow_type">in</property> <property name="border_width">18</property> <child> |