FairyGUI RichText AutoSize is not working as expected #1598
Closed
iAbdulQadirKhan
started this conversation in
General
Replies: 3 comments 5 replies
-
In cocos2d-v3 it was working fine with AutoSize Height + Width but now it converts multilines text into single line. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I have changed the parser option from HTML to Normal. This change fixes the multilines problem but creates an alignment problem. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Sorry I was wrong. The alignment issue is also present in cocos2d-v3. The reason for the above change is that the html parser removes the escaped characters (\n) from the text string. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This works fine if RichText's AutoSize is None. If AutoSize is Height + Width then it doesn't work as expected.
Expected:

Actual:

FairyGUI Design:

Beta Was this translation helpful? Give feedback.
All reactions