[gnome-control-center/wip/gbsneto/keyboard-improvements: 67/67] keyboard: fix list width with latest Gtk+
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/gbsneto/keyboard-improvements: 67/67] keyboard: fix list width with latest Gtk+
- Date: Thu, 1 Sep 2016 13:49:28 +0000 (UTC)
commit 0f5b75ecab77571c401acb26e4464eb6fb512608
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]