mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
e861b0d6c1
The expand flag needs to be set on widgets when previously it was a packing property.
95 lines
3.3 KiB
XML
95 lines
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<object class="GtkWindow" id="window1">
|
|
<property name="can_focus">False</property>
|
|
<property name="type">popup</property>
|
|
<child>
|
|
<object class="GtkBox" id="box">
|
|
<property name="orientation">horizontal</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<!-- spacing -->
|
|
<object class="GtkBox" id="box0">
|
|
<property name="orientation">vertical</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">20</property>
|
|
<child>
|
|
<object class="GtkLabel" id="one">
|
|
<property name="visible">True</property>
|
|
<property name="label">One</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="two">
|
|
<property name="visible">True</property>
|
|
<property name="label">Two</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="three">
|
|
<property name="visible">True</property>
|
|
<property name="label">Three</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<!-- homogeneous -->
|
|
<object class="GtkBox" id="box1">
|
|
<property name="orientation">vertical</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="spacing">0</property>
|
|
<property name="homogeneous">True</property>
|
|
<child>
|
|
<object class="GtkLabel" id="long">
|
|
<property name="visible">True</property>
|
|
<property name="label">Verylongtext</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="short">
|
|
<property name="visible">True</property>
|
|
<property name="label">Short</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<!-- expand -->
|
|
<object class="GtkBox" id="box2">
|
|
<property name="orientation">vertical</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkLabel" id="a">
|
|
<property name="visible">True</property>
|
|
<property name="label">A</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="b">
|
|
<property name="visible">True</property>
|
|
<property name="label">B</property>
|
|
<property name="vexpand">1</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="c">
|
|
<property name="visible">True</property>
|
|
<property name="label">C</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|