forked from AuroraMiddleware/gtk
testsuite: Add test specifically for recent fix
label-sizing.ui tests this, too - but that test tests lots of other things, and if this ever happens again, we want to debug it in a small test.
This commit is contained in:
parent
ba44e7a228
commit
00214cbb4a
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<object class="GtkWindow" >
|
||||
<property name="decorated">0</property>
|
||||
<property name="width-request">200</property>
|
||||
<child>
|
||||
<object class="GtkLabel" >
|
||||
<property name="halign">start</property>
|
||||
<property name="valign">end</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">ABCDE
|
||||
ABCD</property>
|
||||
<property name="max_width_chars">4</property>
|
||||
<attributes>
|
||||
<attribute name="font-desc" value="Monospace"></attribute>
|
||||
</attributes>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<object class="GtkWindow" >
|
||||
<property name="decorated">0</property>
|
||||
<property name="width-request">200</property>
|
||||
<child>
|
||||
<object class="GtkLabel" >
|
||||
<property name="halign">start</property>
|
||||
<property name="valign">end</property>
|
||||
<property name="label" translatable="yes">ABCDE ABCD</property>
|
||||
<property name="xalign">0.0</property>
|
||||
<property name="wrap">1</property>
|
||||
<property name="max-width-chars">4</property>
|
||||
<attributes>
|
||||
<attribute name="font-desc" value="Monospace"></attribute>
|
||||
</attributes>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
@ -314,6 +314,8 @@ testdata = [
|
||||
'label-fonts.css',
|
||||
'label-fonts.ref.ui',
|
||||
'label-fonts.ui',
|
||||
'label-max-width-chars-and-halign-and-infinite-width.ui',
|
||||
'label-max-width-chars-and-halign-and-infinite-width.ref.ui',
|
||||
'label-shadows.css',
|
||||
'label-shadows.ref.ui',
|
||||
'label-shadows.ui',
|
||||
|
Loading…
Reference in New Issue
Block a user