reftests: Improve workaround for GtkGrid bug

... so that it works with wide separators. Or rather: with separators
that don't request 1px size but any other number. Do that by making the
placeholder request the same size by indeed stuffing (hidden) separators
in it.
This commit is contained in:
Benjamin Otte 2014-07-10 14:16:06 +02:00
parent c5b0ae5574
commit 6a2ae1bb90

View File

@ -126,17 +126,41 @@
<!-- BEGIN REMOVE WHEN GRID FIXED -->
<child>
<object class="GtkBox" id="remove-me-when-grid-is-fixed">
<object class="GtkNotebook" id="notebook1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="width-request">1</property>
<property name="height-request">1</property>
<property name="can_focus">True</property>
<property name="show_tabs">False</property>
<property name="show_border">False</property>
<child>
<object class="GtkBox" id="box5">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
</object>
</child>
<child>
<object class="GtkSeparator" id="separator5">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkSeparator" id="separator6">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>