mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 12:41:07 +00:00
7b6e3be4a7
This one checks that empty rows/columns don't affect layout.
78 lines
3.0 KiB
XML
78 lines
3.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<object class="GtkWindow" id="window1">
|
|
<property name="type">popup</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<!-- test that empty extra rows/columns don't affect layout -->
|
|
<object class="GtkGrid" id="grid1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="row-spacing">10</property>
|
|
<property name="column-spacing">5</property>
|
|
<child>
|
|
<object class="GtkEventBox" id="eventbox1">
|
|
<property name="name">red</property>
|
|
<property name="width_request">30</property>
|
|
<property name="height_request">30</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEventBox" id="eventbox2">
|
|
<property name="name">green</property>
|
|
<property name="width_request">30</property>
|
|
<property name="height_request">30</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">10</property>
|
|
<property name="top_attach">0</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEventBox" id="eventbox3">
|
|
<property name="name">green</property>
|
|
<property name="width_request">30</property>
|
|
<property name="height_request">30</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">10</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkEventBox" id="eventbox4">
|
|
<property name="name">red</property>
|
|
<property name="width_request">30</property>
|
|
<property name="height_request">30</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">10</property>
|
|
<property name="top_attach">10</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|