demo: Don't manually add labels to menubuttons

This commit is contained in:
Timm Bäder 2019-10-03 10:32:30 +02:00
parent e20f547317
commit 3944d64d08

View File

@ -14,34 +14,19 @@
<child> <child>
<object class="GtkMenuButton"> <object class="GtkMenuButton">
<property name="popover">thing_a</property> <property name="popover">thing_a</property>
<child> <property name="label">Color</property>
<object class="GtkLabel">
<property name="label">Color</property>
<property name="hexpand">1</property>
</object>
</child>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkMenuButton"> <object class="GtkMenuButton">
<property name="popover">thing_b</property> <property name="popover">thing_b</property>
<child> <property name="label">Flavors</property>
<object class="GtkLabel">
<property name="label">Flavors</property>
<property name="hexpand">1</property>
</object>
</child>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkMenuButton"> <object class="GtkMenuButton">
<property name="popover">thing_c</property> <property name="popover">thing_c</property>
<child> <property name="label">Tools</property>
<object class="GtkLabel">
<property name="label">Tools</property>
<property name="hexpand">1</property>
</object>
</child>
</object> </object>
</child> </child>
</object> </object>