web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : +LyVJv5b2ShUjohODt+Hjv
Power Apps - Building Power Apps
Unanswered

Gallery item height change on select

Like (0) ShareShare
ReportReport
Posted on 17 Nov 2023 18:30:14 by

Good afternoon

 

I have a gallery named gallery1 and each item has 10 text labels with different information from a sharepoint list. since i have to have each item window large to fit all the information on screen i can only see two at a time before i hae to scroll.

 

What i would like to do is have each item window a height of 100 which would display more items before scrolling but if i click on any given item that particular window height expands to 900 so i can see all the information. 

 

I have a variable (varfullview) and put it in the onselect property and a If(Varfullview, 1000,100) in the height property but it collapses the whole gallery, not the item.

 

i feel i am close but not sure.

Categories:
  • WarrenBelz Profile Picture
    148,914 Most Valuable Professional on 17 Nov 2023 at 22:19:33
    Re: Gallery item height change on select

    Hi @phillyd023 ,

    You need a Flexible Height Gallery (if you do not already have one). Set the Height of the target control to the "normal" collapsed height and then set the AutoHeight to

    ThisItem.IsSelected

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2