Quantcast
Channel: cocos2d-x - Cocos Forums
Viewing all articles
Browse latest Browse all 2748

Word wrap in Rich Text, C++/JS Discrepancy

$
0
0

@99999999_81 wrote:

Hello I am using the RichText interface, and it works fantastically in JS, however, the C++ version of RichText does not implement many of the same features.

In particular the features for Word Wrapping. While the JS version of the code has the function "setLineBreakOnSpace()" function, the C++ version of the code does not. This is true for 3.8,3.9, and 3.10. Nor does it have any similar function.

While certainly this it is not hard to fix the code. I'd prefer not to, as I like to use the Cocos2dx library as is, so when I update, I don't have bring forward any patches.

Any chance of this getting worked on / fixed in the next version?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 2748

Trending Articles