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 / Gallery Custom Templat...
Power Apps
Answered

Gallery Custom Template Excessive Padding On Top

(0) ShareShare
ReportReport
Posted on by 92

I tried to customize my gallery with 4 labels and for some reason I have a huge padding gap at the top of each template that I cannot get rid of. I've attached a screen print where you can see a huge gap above the first label. If I adjust the height then the labels for each record start to over lap. Is there something I'm missing?

gallery_template_padding.jpg
gallery_template_padding2.jpg
Categories:
I have the same question (0)
  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    You can help diagnose this by changing the fill of your Gallery to something like a light grey.  It may help to even change the fill of your labels as well to another color.  This will allow you to determine if the issue is indeed the gallery or the labels themselves. 

     

    Once that's narrowed down, you can check the padding for both.  Gallery: TemplatePadding, Y.  Label: PaddingTop, PaddingBottom, Y

  • MattMcQ Profile Picture
    92 on at

    Thanks for the tip but that isn't helping much that I can tell. There's no fill on the labels but I verified my top label has nothing above it. I set the template padding from 5 to 55 and colored the gallery green to show the template box. As you can see the template box is now padded inside the gallery with the 55, but inside the template there is still that huge gap between the first label and the top of the template. It's like there is another template property that I'm missing but I don't see anything else.

    gallery_template_padding2.jpg

    padding 55padding 55

  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    What's the Y value for your first label?

     

  • Verified answer
    MattMcQ Profile Picture
    92 on at

    I hate to admit this but the issue seems to be with the "align" option for the labels. I aligned one to the top and it jumped to the top of the template. I then changed all to align to the left and then manually moved them. Very strange.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard