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 Apps
Suggested Answer

Center the screen

(1) ShareShare
ReportReport
Posted on by
Is there a way that I can set my form centered?
 
 
Here is my display settings:
 
Categories:
I have the same question (0)
  • Suggested answer
    CU24071306-0 Profile Picture
    on at

    Hi,

    you can center controls by setting their x and y positions to the following formulas:

     
    x = Parent.Width / 2 - Self.Width / 2

    y = Parent.Height / 2 - Self.Height / 2

    In your case you only set the x position.

    Greetings David

  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at
    hey 
     
    is this an app you built or a customized sharepoint form?
     
    if its the second one there is no good way to do this, i tried everything and was not successful in any way.
    if its the first one, the screen itself can not be centred, you could only make the screen bigger and place the controls (so galleries,forms etc) in the middle. this can either be achieved dynamically with a formula, or even by drag and drop and just place it wherever you need it.
     
    If the Post help you solve your issue, please mark it as verified answer and give it a like so we can help other in the community with similar issues 

    Greetings
     
  • CAH2035 Profile Picture
    193 on at
    @CU24071306-0 provided the correct answer, but to add further to that:
     
    You can set the width property of the form to Parent.Width and the height property to Parent.Height (and X and Y set to 0)
     
    This will keep your form the same size as your screen, regardless of the size of a users display.

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard