Button Text Scaling not working

I am having an issue as I follow along in the lecture… I have the text in the button set to stretch with the anchors and the borders on text box set to 0 to match the button but when I use Rect tool to expand the button the text WON’T scale with the button…
What am I doing incorrectly?
Thanks

Hi,

You didn’t do anything wrong. The size of the text is defined in the TextMeshPro component. It does not get affected by the anchors unless you select “Best Fit” or “Auto fit” in the component. I forgot what it was named but I’m sure, you’ll find it. Otherwise, increase the font size.

Did this help?


See also:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms