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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to centre items in...
Power Apps
Answered

How to centre items in a gallery

(2) ShareShare
ReportReport
Posted on by 62
Hi everyone,
 
Apologies for what is probably a simple question but I'm struggling to find the exact control I need to change. I'm trying to make my navigation bar (blue) look more like this one (purple):
 
 
Currently the items are aligned to the top of the container in the middle, from everything I've tried so far I've been unable to make it budge to the centre. Any ideas? Thank you in advance.
Categories:
I have the same question (0)
  • Verified answer
    sumit_artesian Profile Picture
    261 on at
     
    Since you are using dynamic containers, the only way you can center the items that I can think of is to increase the "Template size" of the gallery. Currently it is set at 40 in your screenshot. If you increase the template size, it will make the distance between the individual items greater. You can keep the size of your conMenuItems container the same to prevent your items from being distorted while still having the gap between them increase to give the illusion of centered icons.

    You can also increase the "Gap" property of your conMenu container to add some margin between conCompany, galMenu, and conUser components to further define different sections of the nav bar.

    Please  Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item.
    If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like! 🩷
  • Suggested answer
    MS.Ragavendar Profile Picture
    7,160 Super User 2026 Season 1 on at
     
    Based on your requirement the left navigation is created.
     
     
    Screen Layout
     
     
    Left Nav Container
     
     
     
    Gallery 
     
     
    ✅If this helped, please Accept as Solution to help others ❤️ A Like is appreciated 🏷️ Tag @MS.Ragavendar for follow-ups.
  • LW-03031325-0 Profile Picture
    62 on at
    Thank you very much both, the Gap control was exactly what I was looking for. Much appreciated!!!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 875

#2
Valantis Profile Picture

Valantis 530

#3
11manish Profile Picture

11manish 432

Last 30 days Overall leaderboard