Fontsize

leatherguy

Member
Licensed User
Longtime User
Hi all

is there a way to find out what textsize to select to display a number of lines in a label?
for instance I have a label that is 60 height and I want to display 3 lines in it. How to calculate the right textsize? Or label.height is 120 and I want to display a maximum of 5 lines.
Also is there a way to calculate the needed space for a textline?
I want to fit my text on all devices regardless of the activity size.

Thanks in advance
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…