B4J Question My display doesn't have the correct resolution

kalarius

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.
 

Erel

Administrator
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.
 

MarkusR

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