mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
08f58122d1
This tests that invisible children don't influence the layout.
40 lines
1.3 KiB
XML
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>
|