[gtk+] widget factory: Adapt to new scrolled window behavior
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] widget factory: Adapt to new scrolled window behavior
- Date: Mon, 20 Jun 2016 02:17:25 +0000 (UTC)
commit 37e913d76bea6b58a38db1b7996958b81984a114
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 19 22:16:11 2016 -0400
widget factory: Adapt to new scrolled window behavior
Set a max-content-width on some of the scrolled windows to
keep things looking mostly the same, now that GtkScrolledWindow
passes along the natural size of its child.
demos/widget-factory/widget-factory.ui | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 3ee3c32..3d77332 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -1386,6 +1386,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
<property name="can_focus">1</property>
<property name="vscrollbar_policy">always</property>
<property name="shadow_type">in</property>
+ <property name="max_content_width">100</property>
<child>
<object class="GtkTreeView" id="treeview1">
<property name="visible">1</property>
@@ -1466,6 +1467,8 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
<property name="visible">1</property>
<property name="can_focus">1</property>
<property name="shadow_type">in</property>
+ <property name="max_content_width">100</property>
+ <property name="max_content_height">100</property>
<child>
<object class="GtkTextView" id="textview1">
<property name="visible">1</property>
@@ -2766,7 +2769,7 @@ microphone-sensitivity-medium-symbolic</property>
<property name="can_focus">1</property>
<property name="shadow_type">in</property>
<property name="margin-top">6</property>
- <property name="height_request">226</property>
+ <property name="max-content-width">100</property>
<child>
<object class="GtkIconView" id="iconview1">
<property name="visible">1</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]