Dawn/assets/games/liminal/prefabs/VNTextbox.xml

44 lines
1.1 KiB
XML

<prefab name="VNTextbox" type="">
<asset type="truetype" name="font_arial" />
<asset type="texture" name="texture_border" />
<UIBorder
ref="border"
borderSize="16, 16"
alignment="50, 0, 0, 0"
alignUnitLeft="UI_COMPONENT_ALIGN_UNIT_PERCENT"
ref="border"
alignX="UI_COMPONENT_ALIGN_END"
alignY="UI_COMPONENT_ALIGN_STRETCH"
texture="texture_border"
/>
<child>
<UIRichTextLabel
alignment="0, 0, 0, 0"
alignX="UI_COMPONENT_ALIGN_STRETCH"
alignY="UI_COMPONENT_ALIGN_STRETCH"
ref="uiLabel"
>
<font font="font_arial" size="32">
Hello World
How are you today?
I'm doing great, thanks!
Thanks, me too!
</font>
<font font="font_arial" size="36" color="RED">
Glad to hear it!
I'm glad to hear it too!
What a great day!
It sure is!
I'm glad we're friends!
Me too!
What are you up to?
Nothing much, just hanging out.
Cool, me too!
</font>
</UIRichTextLabel>
</child>
<VNTextboxScroller ref="textboxScroller" label="uiLabel" />
</prefab>