awtk/demos/assets/default/raw/ui/rich_text.xml
2020-01-08 11:37:47 +08:00

25 lines
1.0 KiB
XML

<window anim_hint="htranslate" >
<rich_text x="0" y="0" w="100%" h="60">
<property name="text">
<![CDATA[<image name="bricks"/><font align_v="middle">hello awtk!</font><font color="red" size="32">ZLG</font>]]>
</property>
</rich_text>
<rich_text x="0" y="70" w="100%" h="60">
<property name="text">
<![CDATA[<image name="bricks"/><font align_v="top">hello awtk!</font><font color="green" size="32">ZLG</font>]]>
</property>
</rich_text>
<rich_text line_gap="5" x="0" y="140" w="100%" h="300">
<property name="text">
<![CDATA[
<image name="bricks"/><font color="gold" align_v="bottom" size="24">hello awtk!</font><font color="green" size="20">ProTip! The feed shows you events from people you follow and repositories you watch.
hello world!
</font><font color="red" size="20">确定取消中文字符测试。确定。取消。中文字符测试。</font>"
]]>
</property>
</rich_text>
<button name="close" text="Close" x="c" y="bottom:10" w="25%" h="40" />
</window>