RichText AutoWrap bugged


#1

Hi, I found two bugs with autowrap -

28 PM


#2

the expectation would be -

1 - no space in front of "uneeded space"
2 - whole word “autowrap’s” to drop to second line


#3

How do you set up the RichText component,Can you give me a demo?


#4

Cocos Examples -> 02_ui -> 11_richtext -> RichText.fire -> replace text in autowrap richtext with example broken text

no other changes


#5

The issue: