gtk/testsuite/reftests/centerlayout-minsize.ui
Matthias Clasen c890d5991c Add reftests for center layout
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.
2020-08-24 12:02:34 -04:00

28 lines
950 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>
<property name="default-width">20</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="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>