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.
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.