gtk2/testsuite/reftests/label-shadows.ui
Benjamin Otte e0730bc118 testsuite: Fix label-shadows test
Use a GtkFixed to position and rotate the labels. This is necessary
because the GtkLabel::angle property was removed.
2019-04-13 01:31:49 +02:00

53 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow">
<property name="type">popup</property>
<child>
<object class="GtkFixed">
<property name="width-request">200</property>
<property name="height-request">200</property>
<child>
<object class="GtkLabel">
<property name="width-request">100</property>
<property name="height-request">100</property>
<property name="label" translatable="yes">ABC</property>
<layout>
<property name="position">translate(50, 50) rotate(0) translate(-50,-50)</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="width-request">100</property>
<property name="height-request">100</property>
<property name="label" translatable="yes">ABC</property>
<layout>
<property name="position">translate(150, 50) rotate(90) translate(-50,-50)</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="width-request">100</property>
<property name="height-request">100</property>
<property name="label" translatable="yes">ABC</property>
<layout>
<property name="position">translate(150, 150) rotate(180) translate(-50,-50)</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="width-request">100</property>
<property name="height-request">100</property>
<property name="label" translatable="yes">ABC</property>
<layout>
<property name="position">translate(50, 150) rotate(180) translate(-50,-50)</property>
</layout>
</object>
</child>
</object>
</child>
</object>
</interface>