web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How do you center a po...
Power Apps
Unanswered

How do you center a power apps published app?

(0) ShareShare
ReportReport
Posted on by 83

when I remove the scale to fit, when I view my published app on the web it now left aligns to the screen. Is there any way to center align it?

Categories:
I have the same question (0)
  • PytByt Profile Picture
    943 on at

    Hi @LuisTorres 

    I think is best to leave the Scale to Fit option On... :3 

     

    Regards,

    pytbyt

  • LuisTorres Profile Picture
    83 on at

    Normally I would, but my form is a bit big cause its meant to be a form for desktop, so scale to fit will make the fields so small that they are unreadable.

  • Verified answer
    LuisTorres Profile Picture
    83 on at

    Setting the form "X" value to:

     

     

    Max(0,(Parent.Width/2)-(FormWidth/2))

     

     

     Will always place the form in the center of the screen, or to the left of the screen in case you shrink the window.

    Also for this to work you need to disable screen fit, and have the screen width set to Max(App.Width, App.DesignWidth)

    Hopefully this helps someone else.

  • urathikau Profile Picture
    6 on at

    I have also facing this problem . In personal environment its working fine. But in published in another environment its not center aligned. Please help to resolve this.

  • urathikau Profile Picture
    6 on at

    I have a canvas applicaiton and  I want the app in the center and if I reduce the browser size it should automatically fit the size. I got it fixed by disabled optimize embedding appearance and resize based on the browser but not fit in center . If I enabled lock aspect orientation, it appears center and not resizing. Please help me how to achieve this

  • graemethompson1 Profile Picture
    on at

    Power Apps tells me FormWidth is gibberish.

  • PowerJester Profile Picture
    70 on at

    Is there any news for centering the screen of a published app canvas ?
    I've read and tried everything but it still doesn't seem possible to center the screen in a published app.

    Best regards

     
  • graemethompson1 Profile Picture
    on at

    Do you have the settings optimized for embedding? That's typically the issue. Turn it off and it should center in the browser.

  • PowerJester Profile Picture
    70 on at

    Display : scale to fit, lock aspect ratio and lock orientation is turn to off

    Experimental feature : optimize embedding appearance is turn to off

     

    But the published app start always to left top on the browser.

  • sam888k12 Profile Picture
    15 on at

    I was having the same issues above and had the settings already set that were stated in the last reply.  But I did try updating the x: axis #.  I picked 250 (was 40) and that centered the form and seems to look ok in various screens and is responsive.  So maybe there's a flaw in that approach but it's working of me at the moment.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard