mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
2d14372142
This checks mainly that we do the right thing wrt PangoAlignment weirdness. 0.25 and 0.75 are set to 0.0 and 1.0 currently because of Pango limitations (and no desire to manually move lines). But if that were to be fixed, both the ref and the test should update in the same way and things should just keep working.
55 lines
1.8 KiB
XML
55 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<object class="GtkWindow">
|
|
<property name="default-width">200</property>
|
|
<property name="decorated">0</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</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="GtkInscription">
|
|
<property name="text">עִברִית
|
|
English</property>
|
|
<property name="min-lines">2</property>
|
|
<property name="xalign">0.0</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInscription">
|
|
<property name="text">עִברִית
|
|
English</property>
|
|
<property name="min-lines">2</property>
|
|
<property name="xalign">0.25</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInscription">
|
|
<property name="text">עִברִית
|
|
English</property>
|
|
<property name="min-lines">2</property>
|
|
<property name="xalign">0.5</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInscription">
|
|
<property name="text">עִברִית
|
|
English</property>
|
|
<property name="min-lines">2</property>
|
|
<property name="xalign">0.75</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkInscription">
|
|
<property name="text">עִברִית
|
|
English</property>
|
|
<property name="min-lines">2</property>
|
|
<property name="xalign">1.0</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|