Hi,
How can I adjust the text size based on the size of the label?
I used a piece of code in the forum, but the text size inside the label became smaller and did not fit perfectly.
Thanks for your tips
When you set the text of this custom label the text size is automatically modified to the largest possible size so that all the text is visible. To use this view in your project, you should take the AutoTextSizeLabel class from the attached example and add it to your project. You should then...
When you set the text of this custom label the text size is automatically modified to the largest possible size so that all the text is visible. To use this view in your project, you should take the AutoTextSizeLabel class from the attached example and add it to your project. You should then...
thank you,
But I do not know which one to use!
I have to make a label with the for loop and add it to a panel. The text size must also fit the walls of the label.
I create a label with the AutoTextSizeLabel class, but it gives an error when compiling.
Please help with the code.
Thank you sincerely