gtk/testsuite/reftests/label-shadows.ref.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

129 lines
4.7 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(-49,-49)</property>
</layout>
<attributes>
<attribute name="foreground" value="#ffff00000000"></attribute>
</attributes>
<style>
<class name="no-shadow"/>
</style>
</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, 50) rotate(0) translate(-50,-50)</property>
</layout>
<style>
<class name="no-shadow"/>
</style>
</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(-49,-49)</property>
</layout>
<attributes>
<attribute name="foreground" value="#ffff00000000"></attribute>
</attributes>
<style>
<class name="no-shadow"/>
</style>
</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>
<style>
<class name="no-shadow"/>
</style>
</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(-49,-49)</property>
</layout>
<attributes>
<attribute name="foreground" value="#ffff00000000"></attribute>
</attributes>
<style>
<class name="no-shadow"/>
</style>
</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>
<style>
<class name="no-shadow"/>
</style>
</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(-49,-49)</property>
</layout>
<attributes>
<attribute name="foreground" value="#ffff00000000"></attribute>
</attributes>
<style>
<class name="no-shadow"/>
</style>
</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>
<style>
<class name="no-shadow"/>
</style>
</object>
</child>
</object>
</child>
</object>
</interface>