To set the label height I use this code
To display correctly, the height of the label must be doubled.
Does it depend on the screen settings?
How to do it right?
B4X:
Dim cn As Canvas
cn.Initialize(Activity)
lbl.Height=cn.MeasureStringHeight("T", Typeface.DEFAULT,14)
Does it depend on the screen settings?
How to do it right?