Android Question B4XCanvas MeasureText & Padding

fbritop

Active Member
Licensed User
Longtime User
I´m using the MeasureText from B4XCanvas. As it gives you the correct height, the problem goes that Android add som extra padding on top and below the label, so when you adjust the label height, the padding makes imposible to see the label fit right.

I have try with label padding directly and with JavaObject, with no luck. Is there a way to avoid this "auto" padding?

Thanks
FBP

upload_2019-10-9_15-2-35.png
 
Top