B4J Question My display doesn't have the correct resolution


Active Member
Licensed User
Hi there

I have a 7" LCD display with 800 * 480 resolution, connected with my raspberry. I have set this resolution to the variants, but my display doesn't use that resolution. It seem like it uses the 600*600 preset. I have tryied many thing to fix it, but nothing solved the problem.

Any help is appreciated.


Staff member
Licensed User
Don't use variants at all.
Variants will never affect the actual displayed size.

The default size of the main form is set with #MainFormWidth and #MainFormHeight attributes.


Well-Known Member
Licensed User
is is at top of the source code and maybe folded
#Region Project Attributes
    #MainFormWidth: 600
    #MainFormHeight: 600
#End Region