logo
search
Others

How to Remove White Edges Around a Power App Embedded in SharePoint

Maira MehtabMaira Mehtab Sep 20, 2026 868 views

Question details

The user wants to eliminate the white space that appears on the left and right sides of a Power App when it is integrated into a SharePoint site.

Product
Microsoft Power Apps and SharePoint
Device & OS
not provided
Scenario
Embedding a completed Power App into a SharePoint page to share with other users.
Observed behavior
The Power App displays seamlessly without borders when opened directly in a standalone view, but shows unwanted white edges on the sides when placed inside a SharePoint page container.
Before you start

Before adjusting your app's layout, ensure you have the necessary edit permissions for both the Power App in Power Apps Studio and the target SharePoint page where it will be embedded.

Solution 1Recommended

Adjust Responsive Sizing and Aspect Ratio in Power Apps

Modify the display settings within Power Apps to ensure the application scales correctly without leaving blank margins inside the SharePoint iframe.

1
Open Power Apps Studio

Navigate to make.powerapps.com, select your application, and click 'Edit' to open it in the Power Apps Studio interface.

2
Access Display Settings

Click on 'Settings' from the top menu, then navigate to the 'Display' tab on the left sidebar to view your layout options.

3
Modify Scale to Fit

Turn off the 'Scale to fit' toggle to make the app responsive, or adjust the aspect ratio to better match the dimensions of the SharePoint page container. Save and republish your app.

Free Microsoft Office alternative

Boost Your Productivity with WPS Office

While resolving SharePoint embedding issues requires diving into specific Microsoft platform configurations, managing your daily documents, spreadsheets, and presentations doesn't have to be complicated. WPS Office provides a highly compatible, free alternative for your core office tasks.

  1. 1. Download the Software: Visit the official WPS website and click the download button to get the free installer for your operating system.
  2. 2. Install WPS Office: Run the downloaded installation file and follow the quick on-screen instructions to set up the office suite.
  3. 3. Open and Create: Launch WPS Office and click 'New' to start working on your documents, spreadsheets, or presentations immediately.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Lightweight application that uses fewer system resources.Familiar, easy-to-use interface that requires zero learning curve.Built-in robust PDF editing tools without extra subscription costs.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Power App look different in SharePoint than in the preview?

SharePoint embeds the Power App using an iframe with predefined container dimensions. If your app's aspect ratio does not perfectly match the iframe's dimensions, the system will add white borders (letterboxing) to fill the empty space and maintain the app's original proportions.

How can I change the web part size in SharePoint?

While editing your SharePoint page, click on the Power Apps web part and open its property pane by clicking the pencil icon. From here, you can often toggle between standard size options or adjust the page section layout to better accommodate the app's dimensions.

Can I force a Canvas app to stretch and fill the white space dynamically?

Yes. By turning off both 'Lock aspect ratio' and 'Scale to fit' in your Power Apps Display settings, your Canvas app becomes responsive. However, you will also need to configure the internal controls and formulas to anchor dynamically to the edges of the screen.