Fixed some bugs and added parsing
This commit is contained in:
@ -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>
|
Reference in New Issue
Block a user