XML structured much better

This commit is contained in:
2023-05-18 21:51:22 -07:00
parent 26252d3b64
commit 7a6731cc9e
12 changed files with 26 additions and 306 deletions

View File

@ -0,0 +1,26 @@
<prefab name="VNTextbox" type="">
<asset type="truetype" name="font_main" />
<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>
<UILabel
text="This is the text box."
font="font_main"
fontSize="32"
alignment="16, 16, 0, 0"
alignX="UI_COMPONENT_ALIGN_STRETCH"
alignY="UI_COMPONENT_ALIGN_STRETCH"
/>
</child>
</prefab>