cocos2d-x Wrap Text in Label

  • DJEclipse
    Likes 0

    Problem Description

    How do you wrap the text in a label? I can’t get it to work. I tried using setMaxLineWidth, but that didn’t work for some reason.

  • Sonar Systems admin
    Likes 0

    What type of label, UI or other label?

  • DJEclipse
    Likes 0

    There is no need to worry about this anymore. I realized that some custom code I wrote in the Node class of cocos2d-x was messing up the label.

  • Sonar Systems admin
    Likes 0

    Great to hear you have solved it :D

Login to reply