VGA Form.Height bug

N1c0_ds

Active Member
Licensed User
On my diamond, the VGA form height is 588. However on my Touch or in ForceQVGA, it's 268. This means the bottom bar is included in QVGA but not in VGA and this causes quite some trouble in my application.

Try compiling this in ForceQVGA then normally in optimized compile:
B4X:
Sub App_Start
 MsgBox(Form1.Height)
End Sub
 

N1c0_ds

Active Member
Licensed User
That is correct. Currently you should subtract 52 pixels from the height to get the available screen size.
It will be fixed.

But is it only for VGA?

I use Screensize-26*VGA to get the form size (VGA=2 if VGA and 1 if QVGA), will it work?
 
Top