Android Question Canvas measure string width without designer's AutoScale

KZero

Active Member
Licensed User
Longtime User
B4X:
Label1.Width=cnv.MeasureStringWidth(Label1.Text,Label1.Typeface,Label1.TextSize)

if the layout set to "AutoScaleAll" the result is accurate but when I disable it, it doesn't measure the string right

am I missing something?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…