mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
ef51b5be76
Tests shadows work properly for rotated labels
185 lines
7.1 KiB
XML
185 lines
7.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<object class="GtkWindow" id="window1">
|
|
<property name="can_focus">False</property>
|
|
<property name="type">popup</property>
|
|
<child>
|
|
<object class="GtkGrid" id="grid1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkFixed" id="fixed1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkLabel" id="shadow1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes">ABC</property>
|
|
<attributes>
|
|
<attribute name="foreground" value="#ffff00000000"/>
|
|
</attributes>
|
|
<style>
|
|
<class name="no-shadow" />
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="x">2</property>
|
|
<property name="y">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label1">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="xpad">1</property>
|
|
<property name="ypad">1</property>
|
|
<property name="label" translatable="yes">ABC</property>
|
|
<style>
|
|
<class name="no-shadow" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">0</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkFixed" id="fixed2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkLabel" id="shadow2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes">ABC</property>
|
|
<property name="angle">90</property>
|
|
<attributes>
|
|
<attribute name="foreground" value="#ffff00000000"/>
|
|
</attributes>
|
|
<style>
|
|
<class name="no-shadow" />
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="x">2</property>
|
|
<property name="y">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label2">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="xpad">1</property>
|
|
<property name="ypad">1</property>
|
|
<property name="label" translatable="yes">ABC</property>
|
|
<property name="angle">90</property>
|
|
<style>
|
|
<class name="no-shadow" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">1</property>
|
|
<property name="top_attach">0</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkFixed" id="fixed3">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkLabel" id="shadow3">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes">ABC</property>
|
|
<property name="angle">180</property>
|
|
<attributes>
|
|
<attribute name="foreground" value="#ffff00000000"/>
|
|
</attributes>
|
|
<style>
|
|
<class name="no-shadow" />
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="x">0</property>
|
|
<property name="y">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label3">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="xpad">1</property>
|
|
<property name="ypad">1</property>
|
|
<property name="label" translatable="yes">ABC</property>
|
|
<property name="angle">180</property>
|
|
<style>
|
|
<class name="no-shadow" />
|
|
</style>
|
|
</object>
|
|
</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>
|
|
<child>
|
|
<object class="GtkFixed" id="fixed4">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkLabel" id="shadow4">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="label" translatable="yes">ABC</property>
|
|
<property name="angle">270</property>
|
|
<attributes>
|
|
<attribute name="foreground" value="#ffff00000000"/>
|
|
</attributes>
|
|
<style>
|
|
<class name="no-shadow" />
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="x">0</property>
|
|
<property name="y">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label4">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="xpad">1</property>
|
|
<property name="ypad">1</property>
|
|
<property name="label" translatable="yes">ABC</property>
|
|
<property name="angle">270</property>
|
|
<style>
|
|
<class name="no-shadow" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left_attach">0</property>
|
|
<property name="top_attach">1</property>
|
|
<property name="width">1</property>
|
|
<property name="height">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|