UI Border Done

This commit is contained in:
2023-04-29 20:55:32 -07:00
parent 129a460cd1
commit 248e000c63
11 changed files with 182 additions and 88 deletions

View File

@ -1,8 +1,12 @@
<prefab name="VNTextbox" type="">
<asset type="truetype" name="font_main" />
<UIBorder ref="border" width="64" height="64" />
<UIBorder ref="border" borderSize="16, 16" alignment="32, 32, 320, 320" />
<child alignment="16, 16, -1, -1">
<UILabel text="bruh" font="font_main" fontSize="32" />
<child>
<UILabel text="bruh" font="font_main" fontSize="32"
alignment="16, 16, -1, -1"
alignX="UI_COMPONENT_ALIGN_STRETCH"
alignY="UI_COMPONENT_ALIGN_STRETCH"
/>
</child>
</prefab>