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 / Increasing Container's...
Power Apps
Answered

Increasing Container's Height on Click

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I have a nested containers like below image. The selected is the main container and there are two nested containers in it.

 

Capture.PNG

 

Both the containers having galleries in it and I want that if the gallery or the container 1 clicked, then its height should get increased and the other containers height should be minimized. And when the container 2 clicked its height should be increased and the 1st should be decreased. 

 

Just looking for help on how to achieve this please.

 

Warm Regards,

Categories:
  • Verified answer
    wolenberg_ Profile Picture
    1,476 Super User 2026 Season 1 on at

    Hello @AkshayManke  ,

     

    If I understand correct, the problem are not in the containers, but in the gallery inside the container, did you use Flexible Heigth Gallery type ?  for this purpose are more usefull to be responsive.

     

    More informations you can access here: 

    https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/gallery-dynamic-sizing

     

    -------------------------------------------------------------------

    If my reply helped you, please give a 👍
    If it solved your issue, please give a 👍 & accept it as the Solution to help other community members find it.

  • Verified answer
    AkshayManke Profile Picture
    2 on at

    Hi @wolenberg_, thanks for the suggestion. I have applied a workaround for now by using a gallery filter. But will surely evaluate the flexible height gallery functionality and will see how we can leverage it. Accepting your solution for now.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard