forked from AuroraMiddleware/gtk
reftests: Add test for empty grid with spacing
This used to crash. https://bugzilla.gnome.org/show_bug.cgi?id=660139
This commit is contained in:
parent
01320e5773
commit
84c061b861
@ -107,6 +107,8 @@ EXTRA_DIST += \
|
||||
entry-progress-coloring.ref.ui \
|
||||
entry-progress-coloring.ui \
|
||||
green-20x20.png \
|
||||
grid-empty-with-spacing.ref.ui \
|
||||
grid-empty-with-spacing.ui \
|
||||
grid-expand.css \
|
||||
grid-expand.ref.ui \
|
||||
grid-expand.ui \
|
||||
|
16
tests/reftests/grid-empty-with-spacing.ref.ui
Normal file
16
tests/reftests/grid-empty-with-spacing.ref.ui
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<!-- interface-requires gtk+ 3.0 -->
|
||||
<object class="GtkWindow" id="window1">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="type">popup</property>
|
||||
<child>
|
||||
<object class="GtkGrid" id="grid1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="row_spacing">5</property>
|
||||
<property name="column_spacing">5</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
28
tests/reftests/grid-empty-with-spacing.ui
Normal file
28
tests/reftests/grid-empty-with-spacing.ui
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<!-- interface-requires gtk+ 3.0 -->
|
||||
<object class="GtkWindow" id="window1">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="type">popup</property>
|
||||
<child>
|
||||
<object class="GtkGrid" id="grid1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="row_spacing">5</property>
|
||||
<property name="column_spacing">5</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label1">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">invisible</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="top_attach">0</property>
|
||||
<property name="width">1</property>
|
||||
<property name="height">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
Loading…
Reference in New Issue
Block a user