mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 15:01:23 +00:00
bbfaacb598
Test that a horizontal box changes the order of its
children in RTL, and that widget margins flip start
and end.
This tests the fix in d89ff71819
.
31 lines
994 B
XML
31 lines
994 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<object class="GtkWindow" id="window1">
|
|
<property name="decorated">0</property>
|
|
<property name="resizable">0</property>
|
|
<signal name="map" handler="reftest:set_default_direction_rtl" swapped="no"/>
|
|
<signal name="destroy" handler="reftest:set_default_direction_ltr" swapped="no"/>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<child>
|
|
<object class="GtkDrawingArea">
|
|
<property name="name">red</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkDrawingArea">
|
|
<property name="name">yellow</property>
|
|
<property name="margin-start">10</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkDrawingArea">
|
|
<property name="margin-start">50</property>
|
|
<property name="name">green</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|