cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lesotho_kid
Helper II
Helper II

Want canvas tablet app to be centered and NOT fill the entire screen

Hello,

 

Is there a way to have a canvas tablet app fill n% of the entire screen but still be centered.
I have read several articles and none are working:
https://powerapps.microsoft.com/en-us/blog/new-properties-for-responsive-canvas-apps/
and 
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/create-responsive-layout

 

 

Max(App.Width, If(App.Width < App.Height, App.DesignWidth, App.DesignHeight))

Changed to 

Max(App.Width, If(App.Width < App.Height, App.DesignWidth, App.DesignHeight))*.8

 

 

I have tried custom scaling with scale to fit off.  Various references to Parent.Width and code changes above.

Basically trying to make this look like the PowerApps design environment where, at the bottom of the screen, there is a scroll bar to make screen bigger/smaller.

Any ideas appreciated.

 

Thanks,

Dan

1 ACCEPTED SOLUTION

Accepted Solutions
alrez
Microsoft
Microsoft

Hi,

 

Looking at this, these references are probably what I would have suggested. I'm not certain about centering. You might want to try setting the screen size to a fixed size. I think that should be centered, if its not in full screen.

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
alrez
Microsoft
Microsoft

Hi,

 

Looking at this, these references are probably what I would have suggested. I'm not certain about centering. You might want to try setting the screen size to a fixed size. I think that should be centered, if its not in full screen.

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

jfinsen
Frequent Visitor

Having the screen in a fixed size positions the app in a browser at the top left of the screen. 

 

I too am looking to center an app if someone uses a browser. Any suggestions?

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (65,419)