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 set up flexible...
Power Apps
Answered

How to set up flexible TemplateSize for gallery

(0) ShareShare
ReportReport
Posted on by 314

Hi,

I have a below gallery, you can see below but I do not want each row has same high.  So, how can I set up flexible high for each row?

Thanks!

 

usaman45_0-1688096923747.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @usaman45 ,

     

    You need to follow the following steps:

    1. Use Flexible Height Gallery and add your items accordingly

    2. Add all necessary controls.

    3. Note: When you play the App then only you will see the height adjustment, when you are editing the App. You will always see the max height which is equal to TemplateSize.

    4. Note: Each record height will be determined based on any first control it meets from the bottom. If your auto-height label's height touches the end of Gallery template height then that's your height for respective record.

     

    Hope this helps

  • usaman45 Profile Picture
    314 on at

    Thanks, it works but I still an issue on Separator line, any idea how to fix it?

    usaman45_0-1688101979174.png

     

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @usaman45 ,

     

    You can either remove the separator 

    or

    Set the Y property of of the separator as 

    Parent.TemplateHeight - Self.Height

     

    Hope this helps

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 936

#2
Valantis Profile Picture

Valantis 604

#3
11manish Profile Picture

11manish 518

Last 30 days Overall leaderboard