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

31 lines
1.2 KiB
XML
Raw Normal View History

2018-07-28 19:45:28 +08:00
<window anim_hint="htranslate" >
2019-06-04 18:04:52 +08:00
<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">
2019-06-08 12:17:32 +08:00
<![CDATA[<image name="bricks"/><font align_v="top">hello awtk!</font><font color="green" size="32">ZLG</font>]]>
2019-06-04 18:04:52 +08:00
</property>
</rich_text>
<rich_text x="0" y="140" w="100%" h="60">
<property name="text">
<![CDATA[<image name="bricks"/><font align_v="bottom">hello awtk!</font><font color="blue" size="32">ZLG</font>]]>
</property>
</rich_text>
<rich_text line_gap="5" x="0" y="210" w="100%" h="200">
<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>
2018-07-28 19:45:28 +08:00
<button name="close" text="Close" x="c" y="bottom:10" w="25%" h="40" />
</window>