Setting the Minimum App Width

By default, a Windows Store app has a minimum width of 500 pixels. You should design your Windows Store app so that it looks nice at 500 pixels and any resolution greater than 500 pixels (within reason).

Note

According to Microsoft statistics, the most common screen resolution used with Windows is 1,366 x 768. But you can use very high resolution monitors with Windows 8, including 2,560 x 1600 monitors.

For certain apps, it might make sense to support a resolution lower than the default 500 pixels. You can change the default minimum width to a lower width of 320 pixels. Open the package.appxmanifest file and pick the lower resolution from the drop-down list (see Figure 11.4).

FIGURE 11.4 Setting the minimum width ...

Get Windows® 8.1 Apps with HTML5 and JavaScript Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.