The setMaxLineWidth method for labels doesn’t work anymore. I used it on a project that runs on cocos2d-x 3.6 and the label didn’t wrap the text. I tried the exact same code in cocos2d-x 3.3 and the label wrapped the text. What changes caused this?
I just realized what happened. I customized the Node class of cococs2d-x in the cocos2d-x 3.6 version to have a width and height property and then I set the width and height in the setContentSize method of Node. I’m guessing that messed with the Label class.