awtk/demos/assets/raw/ui/label.xml

31 lines
892 B
XML
Raw Normal View History

2018-12-20 11:01:37 +08:00
<window children_layout="default(c=3,r=4)">
2019-06-04 18:04:52 +08:00
<label style="left">
<property name="text">
it
is
a
multi-line
sample
(left)
</property>
</label>
2019-06-04 18:16:41 +08:00
<label style="center" tr_text="multi line text"/>
<label style="right" text="it\nis\na\nmulti-line\nsample\n(right)"/>
<label style="center_top" text="it\nis\na\nmulti-line\nsample\n(center_top)"/>
<label style="center" text="it\nis\na\nmulti-line\nsample\n(center)"/>
<label style="center_bottom" text="it\nis\na\nmulti-line\nsample\n(center_bottom)"/>
2018-12-12 11:17:41 +08:00
<label style="left" text="dialing... "
animation="length(from=7, to=12, easing=linear, duration=1200, repeat=1000)"
/>
<label style="center" text="center"/>
<label style="right" text="right"/>
<label style="center_top" text="center_top"/>
<label style="center" text="center"/>
<label style="center_bottom" text="center_bottom"/>
</window>