mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 12:41:07 +00:00
c890d5991c
Add a test that checks behavior with invisible children, and another one that ensures we go back to box-like layout if min-size is forced.
28 lines
951 B
XML
28 lines
951 B
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="GtkCenterBox" id="box1">
|
|
<child type="start">
|
|
<object class="GtkLabel" id="label1">
|
|
<property name="label" translatable="yes">Hello, Hello</property>
|
|
</object>
|
|
</child>
|
|
<child type="center">
|
|
<object class="GtkLabel" id="label2">
|
|
<property name="visible">0</property>
|
|
<property name="label" translatable="yes">cruel</property>
|
|
</object>
|
|
</child>
|
|
<child type="end">
|
|
<object class="GtkLabel" id="label3">
|
|
<property name="label" translatable="yes">World</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|