forked from AuroraMiddleware/gtk
tests: Add a test for small ellipsized labels
Tests the fix from bf41392861
This commit is contained in:
parent
af75173ddd
commit
32a3ad412e
@ -34,5 +34,7 @@ EXTRA_DIST += \
|
||||
label-sizing.css \
|
||||
label-sizing.ref.ui \
|
||||
label-sizing.ui \
|
||||
label-small-ellipsized.ref.ui \
|
||||
label-small-ellipsized.ui \
|
||||
simpe.ref.png \
|
||||
simple.ui
|
||||
|
15
tests/reftests/label-small-ellipsized.ref.ui
Normal file
15
tests/reftests/label-small-ellipsized.ref.ui
Normal file
@ -0,0 +1,15 @@
|
||||
<?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="GtkLabel" id="label1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes"> </property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
16
tests/reftests/label-small-ellipsized.ui
Normal file
16
tests/reftests/label-small-ellipsized.ui
Normal file
@ -0,0 +1,16 @@
|
||||
<?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="GtkLabel" id="label1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes"> </property>
|
||||
<property name="ellipsize">end</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
Loading…
Reference in New Issue
Block a user