B4J Question My display doesn't have the correct resolution

Discussion in 'B4J Questions' started by kalarius, Aug 9, 2019.

  1. kalarius

    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.
  2. Erel

    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.
  3. MarkusR

    MarkusR 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
    José J. Aguilar likes this.
  4. kalarius

    kalarius Active Member Licensed User

    Thank you both very much!!!
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice