Fixed bug with empty string, allowing local fonts to be loaded.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<prefab name="VNTextbox" type="">
|
||||
<asset type="truetype" name="font_arial" />
|
||||
<asset type="truetype" name="font_main" />
|
||||
<asset type="texture" name="texture_border" />
|
||||
|
||||
<UIBorder
|
||||
@ -22,24 +22,8 @@
|
||||
alignY="UI_COMPONENT_ALIGN_MIDDLE"
|
||||
ref="uiLabel"
|
||||
>
|
||||
<font font="font_arial" size="32">
|
||||
<font>Hello</font><font style="bold"> World
|
||||
</font>
|
||||
<font color="red">How are you today?
|
||||
</font>
|
||||
<font>I'm doing great, thanks!</font>
|
||||
<font>
|
||||
Thanks, me too!
|
||||
Glad to hear it!
|
||||
I'm glad to hear it too!
|
||||
What a great day!
|
||||
It sure is!
|
||||
I'm glad we're friends!
|
||||
Me too!
|
||||
What are you up to?
|
||||
Nothing much, just hanging out.
|
||||
Cool, me too!
|
||||
</font>
|
||||
<font font="font_main" size="32">
|
||||
Hello world!
|
||||
</font>
|
||||
</UIRichTextLabel>
|
||||
</child>
|
||||
|
Reference in New Issue
Block a user