[gtk/matthiasc/for-master] widget-factory: Make the list on page 2 grow to the bottom
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] widget-factory: Make the list on page 2 grow to the bottom
- Date: Mon, 27 Apr 2020 00:37:11 +0000 (UTC)
commit 50b930fb1c41ef942b92c891e42d387287f3310e
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Apr 26 20:35:51 2020 -0400
widget-factory: Make the list on page 2 grow to the bottom
Add a few more items to the list to make it fill up the space.
demos/widget-factory/widget-factory.ui | 43 ++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 555cec8c08..a19339ea97 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -1646,6 +1646,7 @@ microphone-sensitivity-medium-symbolic</property>
<property name="hscrollbar-policy">never</property>
<property name="min-content-height">200</property>
<property name="hexpand">0</property>
+ <property name="vexpand">1</property>
<child>
<object class="GtkListBox" id="listbox">
<property name="selection-mode">none</property>
@@ -1845,6 +1846,46 @@ microphone-sensitivity-medium-symbolic</property>
</child>
</object>
</child>
+ <child>
+ <object class="GtkListBoxRow" id="listboxrow7">
+ <child>
+ <object class="GtkBox">
+ <child>
+ <object class="GtkLabel">
+ <property name="label" translatable="yes">Row 7</property>
+ <property name="halign">start</property>
+ <property name="valign">center</property>
+ <property name="margin-start">6</property>
+ <property name="margin-end">6</property>
+ <property name="margin-top">6</property>
+ <property name="margin-bottom">6</property>
+ <property name="hexpand">1</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkListBoxRow" id="listboxrow8">
+ <child>
+ <object class="GtkBox">
+ <child>
+ <object class="GtkLabel">
+ <property name="label" translatable="yes">Row 8</property>
+ <property name="halign">start</property>
+ <property name="valign">center</property>
+ <property name="margin-start">6</property>
+ <property name="margin-end">6</property>
+ <property name="margin-top">6</property>
+ <property name="margin-bottom">6</property>
+ <property name="hexpand">1</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
</object>
</child>
</object>
@@ -3278,6 +3319,8 @@ bad things might happen.</property>
<widget name="listboxrow4"/>
<widget name="listboxrow5"/>
<widget name="listboxrow6"/>
+ <widget name="listboxrow7"/>
+ <widget name="listboxrow8"/>
</widgets>
</object>
<object class="GtkSizeGroup">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]