Dears,
I would like to ask how to adjust the font size of label to fit label height/width?
I searched a lot and I am unable to reach to the answer.
Thank you
I've been working (since last week when Erel suggest I remove a DoEvent) on restructuring my code to not have any DoEvents. The only place I have them now is in T8TextSize library Is there a proper way to adjust the text size of a label without having to call DoEvents as T8TextSize does? BobVal
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...
www.b4x.com
You may want to take a look at this lib too. I have not used this one:
It is not recommented to use this class in B4J, the textsize is resetting without reasons... this class is based on the Original Class from @Erel. It works on B4A, B4I and B4J. I tested it with B4A and B4I. Notes: -XUI is needed Change log: - V1.0 Release - V1.1 Add RefreshView Add...