XML structured much better
This commit is contained in:
26
assets/games/liminal/prefabs/VNTextbox.xml
Normal file
26
assets/games/liminal/prefabs/VNTextbox.xml
Normal 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>
|
Reference in New Issue
Block a user