LucaMs Expert Licensed User Longtime User Aug 5, 2017 #1 B4X: 'All variants script If ActivitySize <= 6 Then pnlBanner.Height = 50dip Else pnlBanner.Height = 90dip End If Using or not AutoScaleAll, pnlBanner wdith, on my smartphone, is always 75 dips. [Vertical Anchor = Bottom] Why?
B4X: 'All variants script If ActivitySize <= 6 Then pnlBanner.Height = 50dip Else pnlBanner.Height = 90dip End If Using or not AutoScaleAll, pnlBanner wdith, on my smartphone, is always 75 dips. [Vertical Anchor = Bottom] Why?
LucaMs Expert Licensed User Longtime User Aug 5, 2017 #2 ... and this is my answer: because the scale of my phone is 1.5 and I used dip. Writing 50 (and 90) it seems to be correct (I have to do more tests). Upvote 0
... and this is my answer: because the scale of my phone is 1.5 and I used dip. Writing 50 (and 90) it seems to be correct (I have to do more tests).