forked from AuroraMiddleware/gtk
Merge branch 'wip/otte/for-main' into 'main'
testsuite: Add tests for label overdraw See merge request GNOME/gtk!4737
This commit is contained in:
commit
5f469a0d2d
16
testsuite/reftests/label-overdraw-horizontal.ref.ui
Normal file
16
testsuite/reftests/label-overdraw-horizontal.ref.ui
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<object class="GtkWindow">
|
||||
<property name="decorated">0</property>
|
||||
<property name="width-request">100</property>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label">letter is off</property>
|
||||
<property name="xalign">0</property>
|
||||
<attributes>
|
||||
<attribute name="style" value="italic" start="0" end="-1"></attribute>
|
||||
</attributes>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
17
testsuite/reftests/label-overdraw-horizontal.ui
Normal file
17
testsuite/reftests/label-overdraw-horizontal.ui
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<object class="GtkWindow">
|
||||
<property name="decorated">0</property>
|
||||
<property name="width-request">100</property>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label">letter is off</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="xalign">0</property>
|
||||
<attributes>
|
||||
<attribute name="style" value="italic" start="0" end="-1"></attribute>
|
||||
</attributes>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
14
testsuite/reftests/label-overdraw-vertical.ref.ui
Normal file
14
testsuite/reftests/label-overdraw-vertical.ref.ui
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<object class="GtkWindow">
|
||||
<property name="decorated">0</property>
|
||||
<property name="height-request">100</property>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">T̰̰̰hree tildes below
|
||||
</property>
|
||||
<property name="valign">start</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
13
testsuite/reftests/label-overdraw-vertical.ui
Normal file
13
testsuite/reftests/label-overdraw-vertical.ui
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<object class="GtkWindow">
|
||||
<property name="decorated">0</property>
|
||||
<property name="height-request">100</property>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">T̰̰̰hree tildes below</property>
|
||||
<property name="valign">start</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
@ -392,6 +392,10 @@ testdata = [
|
||||
'label-huge-max-width-chars.ui',
|
||||
'label-max-width-chars-and-halign-and-infinite-width.ui',
|
||||
'label-max-width-chars-and-halign-and-infinite-width.ref.ui',
|
||||
'label-overdraw-horizontal.ref.ui',
|
||||
'label-overdraw-horizontal.ui',
|
||||
'label-overdraw-vertical.ref.ui',
|
||||
'label-overdraw-vertical.ui',
|
||||
'label-shadows.css',
|
||||
'label-shadows.ref.ui',
|
||||
'label-shadows.ui',
|
||||
|
Loading…
Reference in New Issue
Block a user