gtk/testsuite/reftests/gridlayout-invisible-child.ui
Matthias Clasen 08f58122d1 Add a reftest for grid layouts
This tests that invisible children don't influence
the layout.
2020-08-24 11:38:00 -04:00

40 lines
1.3 KiB
XML

<!-- check that an invisible child does not influence the layout -->
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window_information_collection">
<property name="decorated">0</property>
<child>
<object class="GtkGrid" id="grid1">
<child>
<object class="GtkLabel" id="label1">
<property name="label" translatable="yes">Hello</property>
<layout>
<property name="row">0</property>
<property name="column">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="label2">
<property name="visible">0</property>
<property name="label" translatable="yes">cruel</property>
<layout>
<property name="row">0</property>
<property name="column">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="label3">
<property name="label" translatable="yes">World</property>
<layout>
<property name="row">0</property>
<property name="column">2</property>
</layout>
</object>
</child>
</object>
</child>
</object>
</interface>