Announcements
I have a label (which auto height's property is on) in a gallery and this label is for description, so sometimes the length of label text is 400,380,214 etc. means it changes that's why auto height property is on, but the issue is I want to increase the template size basis of label's height means if height is high then template size should also be high and so on. How to achieve it since I'm getting the Label.Height as blank
I can get height of the label when auto height is on. You can set the template size according your label.Height property
Hi @zmansuri, take that label in the gallery for every row and then put it on template size of gallery it will give you blank
@Tourist
let's say you have 5 items to display in the gallery.
Do you want to set for each displayed in the gallery item a different template height?
if yes, it is not possible.
on your screenshot:
you can get the height of Label18 by using its height property as mentioned before (Label18.Height).
If that Label18 is inside the gallery you can get the height of the first instance (item) only.
No @Alex_10 , I am getting height of every single instance
as you can see the middle label has different value in every single row, its just I want to set it on template size but its giving blank there.
inside your gallery you can get each instance's height as on your screenshot.
I meant as for your purpose, template height will be the height of the first instance.
Okk @Alex_10 means I cannot make the template size dynamic based on the height of label???
there is a flexible height gallery option exist.
with your current gallery type it is not possible.
@Alex_10 gallery which I using is already flexible one its not a normal gallery😶 still am facing the issue
got you now. in this case why do you need templatesize? in PLAY mode it will be adjusted automatically.
in studio, you can check it by pressing and holding ALT. On the screenshot i have templatesize=280 (which takes effect in studio only)
@Alex_10 OK see my gallery is nested in a main gallery, I have a table which has Category in it and there is another table where we chose in which category we want to add sub category, so a category can have multiple sub category and every sub category has description(Auto height label) so like in my Environment category I have 3 sub categories with their description and both these are displaying in nested gallery, so I want the template size dynamic I am using both of the galleries flexible
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.
WarrenBelz 377 Most Valuable Professional
11manish 165 Super User 2026 Season 2
MS.Ragavendar 110 Super User 2026 Season 2