Skip to content

Commit 20760d1

Browse files
authored
Merge pull request #8169 from MicrosoftDocs/mints-app-preview-tasha
App preview - DO NOT MERGE
2 parents a575e30 + c38956b commit 20760d1

File tree

4 files changed

+59
-0
lines changed

4 files changed

+59
-0
lines changed

powerapps-docs/maker/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,6 +1162,8 @@
11621162
href: ./canvas-apps/how-to/deep-linking.md
11631163
- name: Work with the PDF function (experimental)
11641164
href: ./canvas-apps/how-to/pdf-function.md
1165+
- name: Preview an app
1166+
href: ./canvas-apps/preview-app.md
11651167
- name: Save and publish an app
11661168
href: ./canvas-apps/save-publish-app.md
11671169
- name: Share an app and its dependencies
40.9 KB
Loading
507 Bytes
Loading
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
title: Preview your canvas apps
3+
description: Preview your app in Power Apps Studio to see how the app will look for your app users.
4+
author: tashaev
5+
6+
ms.topic: conceptual
7+
ms.custom: canvas
8+
ms.reviewer: mkaur
9+
ms.date: 05/18/2023
10+
ms.subservice: canvas-maker
11+
ms.author: tashas
12+
search.audienceType:
13+
- maker
14+
contributors:
15+
- mduelae
16+
- tashas
17+
---
18+
# Preview an app
19+
20+
When you create an app, it's helpful to preview your app and see how it will look for your users. Use the preview app feature to see how your app appears on various devices and in different sizes. Previewing an app is especially beneficial when you're building a responsive app.
21+
22+
To preview an app, open the app for editing in [Power Apps Studio](https://create.powerapps.com), in actions menu, select ![Preview button.](media/studio/preview-button.png)
23+
**Preview the app**.
24+
25+
Use the preview options to see how your app looks on different devices using the device picker.
26+
27+
> [!div class="mx-imgBorder"]
28+
> ![Preview your app.](media/studio/preview-app.png)
29+
30+
Legend:
31+
1. **Tablet Devices**: Allows you to select from common tablet devices from several manufacturers, along with the ability to select a custom size based on your needs. This option shows a device frame and device safe zone, which is shown as the black area either on the top and bottom or sides depending on the orientation of the device. It also shows a black area with the home bar at the bottom.
32+
2. **Mobile devices**: Lets you select from common phones from different manufacturers, along with the ability to select a custom size based on your needs. This option shows a device frame and device safe zone, which is shown as the black area either on the top and bottom or sides depending on the orientation of the device. It also shows a black area with the home bar at the bottom.
33+
3. **Web view**: See how your app looks like on a web browser. You can select a window size to fill the browser window, or you can select canvas size to see how the app looks while authoring without leaving the preview.
34+
4. **Orientation Switcher**: Switch between vertical and horizontal orientation. The **Orientation Switcher** option is disabled if the **Lock Orientation** setting turned on.
35+
36+
If you're developing a responsive app, the content within the app adjusts to fit the screen size of the device being used.
37+
38+
Watch this video to learn how the device picker helps you confirm that your app is adjusting correctly.
39+
40+
> [!VIDEO https://www.microsoft.com/en-us/videoplayer/embed/RW14Dfz]
41+
42+
## Display settings
43+
44+
The way your app behaves with each preview option is determined by app type and your display settings.
45+
46+
- If an app is created using the phone layout, you can still preview it on the web and tablet devices using the device picker. However, if an app isn't created using a responsive layout, it then appears in a phone shape on the web and selected tablet device. You get a message explaining why the preview is narrow. If you’d like an app to be responsive to phone, tablet, and web sizes then we recommend selecting the tablet option when you create an app. You can use responsive auto layout containers to determine the flow of the content for different screen sizes including phones. More information: [Building responsive canvas apps](build-responsive-apps.md)
47+
48+
- Under Display settings:
49+
- **Scale To Fit**: When set to **On** your entire app is scaled to fit the available space. If a smaller space is available to the app, you may notice empty space on the sides to accommodate the scaling. When a user plays the app, they will also see the empty space.
50+
- **Lock Orientation**: When set to **On**, the **Switch Orientation** button in the device picker is disabled.
51+
52+
## Known Issues
53+
54+
- If **Scale To Fit** setting is on and **Lock Aspect Ratio** is off, your preview won't be accurate. This configuration isn't recommended. More information: [Change screen size and orientation of canvas apps](set-aspect-ratio-portrait-landscape.md)
55+
56+
- If **Scale to Fit** is off and you resize your browser window while in preview mode, the preview won't be accurate. To address the issue, close and reopen the preview once your browser window is in the desired size.
57+

0 commit comments

Comments
 (0)