summaryrefslogtreecommitdiff
path: root/testsuite/reftests/gridlayout-invisible-child.ref.ui
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-08-24 11:38:00 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-08-24 11:38:00 -0400
commit08f58122d1ebeab7bc1be2e0c7f4a612f05d250d (patch)
treee43ebcee8c1f7c4b991b9407c7bc649dc9d11d94 /testsuite/reftests/gridlayout-invisible-child.ref.ui
parent17dcb1070733d41f483b82f2813e8961c4a81835 (diff)
downloadgtk+-08f58122d1ebeab7bc1be2e0c7f4a612f05d250d.tar.gz
Add a reftest for grid layouts
This tests that invisible children don't influence the layout.
Diffstat (limited to 'testsuite/reftests/gridlayout-invisible-child.ref.ui')
-rw-r--r--testsuite/reftests/gridlayout-invisible-child.ref.ui28
1 files changed, 28 insertions, 0 deletions
diff --git a/testsuite/reftests/gridlayout-invisible-child.ref.ui b/testsuite/reftests/gridlayout-invisible-child.ref.ui
new file mode 100644
index 0000000000..ad64be95bc
--- /dev/null
+++ b/testsuite/reftests/gridlayout-invisible-child.ref.ui
@@ -0,0 +1,28 @@
+<?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="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>