Fixed some bugs and added parsing

This commit is contained in:
2023-06-16 15:48:33 -07:00
parent b35c9c3505
commit 4cbff34034
18 changed files with 167 additions and 53 deletions

View File

@ -1,5 +1,5 @@
<prefab name="VNTextbox" type="">
<asset type="truetype" name="font_main" />
<asset type="truetype" name="font_arial" />
<asset type="texture" name="texture_border" />
<UIBorder
@ -13,17 +13,16 @@
texture="texture_border"
/>
<child ref="test123">
<!-- <UILabel
text="This is the text box."
font="font_main"
fontSize="48"
alignment="0, 0, 500, 500"
alignX="UI_COMPONENT_ALIGN_MIDDLE"
alignY="UI_COMPONENT_ALIGN_MIDDLE"
<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" /> -->
<VNTextboxScroller ref="textboxScroller" label="uiLabel" />
</prefab>