Announcements
Hi,
I have a flexible height gallery and want to put a rectangle "line" at the bottom of each record.
Each row has 6 labels.
Trying to work out what the approach is to make sure it sits on the bottom of the text. I tried an approach of picking what I thought was going to be the main culprit label that would always expand then set the y value to the width of that but turns out this is not always going to be the case. any label in the row could end up being the one that expands the height of the row.
Thanks in advance
Todd
Hello, @Tango, Set the Y property of the rectangle shape to the following formula:
Max( Label1.Y + Label1.Height, Label2.Y + Label2.Height, Label3.Y + Label3.Height, Label4.Y + Label4.Height, Label5.Y + Label5.Height, Label6.Y + Label6.Height )
Replace Label1, Label2, Label3, Label4, Label5, and Label6 with the actual names of the labels in the gallery.
I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.
Visit my Blog: www.powerplatformplace.com
Thank you so much @AhmedSalih
@Tango, Always happy to help 🙂
@AhmedSalih As a matter of interest can I also set a minimum height? (just a value)
@Tango, yes you can.
@AhmedSalih How?
@Tango, it is a line so use these properties:
No, the minimum height of the entire row (each of the labels), like you initial solution but then adding a minimum value like say 30px, does that make sense?
@Tango, got you! use the Gallery TemplateSize Property.
thanks Ahmed, what if I wanna anchor a label or a button at the end bottom of my canvas app, like to consider it as a footer!
I have tried many options and solutions but non of them worked...
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 405 Super User 2026 Season 2
Mohsin Ali 368
WarrenBelz 244 Most Valuable Professional