awtk/demos/assets/raw/ui/label.xml
2019-06-04 18:16:41 +08:00

31 lines
892 B
XML

<window children_layout="default(c=3,r=4)">
<label style="left">
<property name="text">
it
is
a
multi-line
sample
(left)
</property>
</label>
<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)"/>
<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>