Square Screen Autoscale - Stretch or Crop?

Discussion in 'Questions (Windows Mobile)' started by NewKreation, Jul 13, 2009.

  1. NewKreation

    NewKreation Member Licensed User

    I do not have a square screen device. So, I was wondering...if I build my app with a screen size of 240x320, how will it display on a 240x240 screen size if I compile it with the autoscale option?

    1. Does the bottom get cut off?
    2. Do the graphics and input boxes stretch taller?
    3. Other?

    Thanks in advance :)
  2. Erel

    Erel Administrator Staff Member Licensed User

    The bottom will be cut off. Autoscale mode does the scaling based on the DPI (Dot Per Inch). Both 240x320 and 240x240 share the same DPI which is 96 (ScreenScaleX/Y will return 1). So AutoScale will not do anything.
    You can detect the layout and change it automatically.
    There are square screen emulators which you can download and test your program.
  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