Form size not accurate

ExcludeReality

Active Member
Licensed User
When I enter the form size 500x500 the form becomes 500x450.
I assume this is to exclude the title bars on the device, but this is a desktop application.
Of course I could set the height to 550 and get a height of 500, but I just wanna make sure this isn't a bug.

Thanks
 

agraham

Expert
Licensed User
Longtime User
It's expected behaviour on the desktop. A 500 x 500 screen size should result in a width of 500 and a height of 448. The missing 52 pixels account for the 26 pixel high bottom menu and top status bars on a QVGA device display. These heights are exactly twice that on a VGA device.

Note that version 6.90 fixed a very long standing bug that caused incorrect Form height and width on the desktop as the width of the window borders were not properly taken into account. Now on the desktop you get what you ask for less the device height allowance.
 
Top