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

28 lines
721 B
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">test1</font>
</UIRichTextLabel>
</child>
<VNTextboxScroller ref="textboxScroller" label="uiLabel" />
</prefab>