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.
This commit is contained in:
Matthias Clasen 2016-06-19 22:16:11 -04:00
parent e33e23a6d9
commit 37e913d76b

View File

@ -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>