mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
d717a2dcfc
row-spacing behaved like column-spacing should have and vice versa. Also update tests that erroneously checked this behavior. Thanks to Joanmarie Diggs for finding this.
124 lines
4.2 KiB
XML
124 lines
4.2 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="GtkGrid" id="grid">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
|
|
<child>
|
|
<object class="GtkGrid" id="grid0">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="column-spacing">20</property>
|
|
<child>
|
|
<object class="GtkLabel" id="one">
|
|
<property name="visible">True</property>
|
|
<property name="label">One</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="two">
|
|
<property name="visible">True</property>
|
|
<property name="label">Two</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="three">
|
|
<property name="visible">True</property>
|
|
<property name="label">Three</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="GtkGrid" id="grid1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="column-homogeneous">True</property>
|
|
<child>
|
|
<object class="GtkLabel" id="long">
|
|
<property name="visible">True</property>
|
|
<property name="label">Verylongtext</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="short">
|
|
<property name="visible">True</property>
|
|
<property name="label">Short</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="GtkGrid" id="grid2">
|
|
<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>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="b">
|
|
<property name="visible">True</property>
|
|
<property name="label">B</property>
|
|
<property name="hexpand">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="c">
|
|
<property name="visible">True</property>
|
|
<property name="label">C</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">2</property>
|
|
</packing>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|