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