Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17076

How to set cc.LabelTTF with dynamic text to auto-height with fixed width?

$
0
0

@putLimeInCoconut wrote:

Hello,
i am sure this must exist, but i couldnt find it in the docs.
How do I set the hieght of a cc.LabelTTF according to its text when the width is fixed?

Thanks!

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>