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

problem with fontSizeUsedForBestFit and resizeTextMaxSize

$
0
0
Hi,

I've searched around a bit, but I couldn't find anyone experiencing the same problem I am, so I figured I would ask for help here.

Basically I am having issues with the Text.cachedTextGenerator.fontSizeUsedForBestFit and Text.resizeTextMaxSize.

I have a number of buttons which have dynamic changing Text. I want the Text of all the buttons to have the same size, and that size should be as large as possible - without overflowing any of the buttons of course.

I have made a function...

problem with fontSizeUsedForBestFit and resizeTextMaxSize

Viewing all articles
Browse latest Browse all 23263

Trending Articles



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