Exercise - Create and adjust UI for a new canvas app
If you’ve been following along with the Contoso Coffee Machines app, this is a good time to apply what you’ve learned. If not, don’t worry—this exercise guides you through creating an app that reinforces the key concepts from this learning module.
Go to the Microsoft Power Apps home page and select Create, then choose the Start with a blank canvas card. Select the Tablet form factor and follow these steps:
Insert a Rectangle control and resize it to span the top of the screen. Set its Height property to
80
.Insert an Image control and position it in the top-left corner of the rectangle.
Set the Image property to:
User().Image
Insert a Text label and position it to the right of the image in the header.
Adjust the width to be
200
.Change the Text property to:
"Welcome, " & User().FullName
Change the Color property of the label text to white.
Insert a Text input control and position it below the header rectangle.
Insert a Reset Icon and place it to the right of the Text input control.
Set the OnSelect property of the Reset icon to (update the control name if needed):
Reset(TextInput1)
Note
The Reset function changes the Text input to whatever is entered in as the Default value, which is initially "Text input".
Apply a theme to your app. Select App or Screen1 in the Tree view, then choose a theme from the Theme dropdown in the command bar. (In the example below, the Dark Blue theme is applied.)
Enter Preview mode. Type some text into the Text input control, then select the Reset icon. Your text should have returned to "Text input".
Use the preview tools to view your app on different devices, such as a Samsung Galaxy Tab A7.
Try switching to a Phone view (e.g., iPhone 14) and experiment with different orientations.
Congratulations—you’ve successfully applied new Power Apps skills!