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

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

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