gtk2/testsuite/reftests/label-attribute-preference.ui
Benjamin Otte 08df891070 reftests: Use colors without rounding errors
Color values must be divisible by 15 to be convertible into U8 and U16
values with the same result. 0x80 is not one of these values, so switch
it to 0x99.
2021-09-16 23:59:37 +02:00

17 lines
812 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<property name="decorated">0</property>
<child>
<object class="GtkLabel" id="label1">
<property name="use-markup">1</property>
<property name="label" translatable="yes">H&lt;span color=&quot;#009900&quot;&gt;ell&lt;/span&gt;o &lt;a href=&quot;http://example.com&quot;&gt;l&lt;span color=&quot;#00FF00&quot;&gt;in&lt;/span&gt;ky&lt;/a&gt; &lt;span color=&quot;#99FF99&quot;&gt;Worl&lt;/span&gt;d</property>
<attributes>
<attribute name="foreground" value="#ffff00000000" start="3" end="8"></attribute>
<attribute name="foreground" value="#ffff99999999" start="10" end="14"></attribute>
</attributes>
</object>
</child>
</object>
</interface>