reftests: Add test for the recent label changes

This commit is contained in:
Benjamin Otte 2014-07-10 18:55:37 +02:00
parent 3e82d12abd
commit e1112dce6d
4 changed files with 57 additions and 0 deletions

View File

@ -244,6 +244,9 @@ testdata = \
label-attribute-preference.css \
label-attribute-preference.ref.ui \
label-attribute-preference.ui \
label-clipping.css \
label-clipping.ref.ui \
label-clipping.ui \
label-ellipsize-small.ref.ui \
label-ellipsize-small.ui \
label-ellipsize-with-big.ref.ui \

View File

@ -0,0 +1,6 @@
@import "reset-to-defaults.css";
GtkLabel {
font-size: 40px;
font-style: italic;
}

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.1 -->
<interface>
<requires lib="gtk+" version="3.12"/>
<object class="GtkWindow" id="window1">
<property name="width_request">500</property>
<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">fffffffff</property>
</object>
</child>
</object>
</interface>

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.1 -->
<interface>
<requires lib="gtk+" version="3.12"/>
<object class="GtkWindow" id="window1">
<property name="width_request">500</property>
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkBox" id="box2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">fffffffff</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
</object>
</child>
</object>
</interface>