Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Setting maximum size for Content Size Fitter

$
0
0
Hi,

I put a content size fitter component to my Text UI element so that the rect grows horizontally when the text is longer. However, I want to give it a maximum width, which means that "you can grow larger when there are more text, but NOT larger than this amount".

Is there any way I can achieve this behavior?

Thanks a lot.

Viewing all articles
Browse latest Browse all 23263

Trending Articles



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