Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

How can I create a responsive gallery?

I would like to create a responsive gallery that (1) dynamically changes its wrap count based on the screen size and (2) automatically adjusts its height based on the wrap count/number of items (e.g., TemplateHeight * COUNTROWS(Self.AllItems) ).


I would also like to ensure that the objects inside of the gallery do not exceed a max height/width, but I cannot figure out how to set the template width, only reference it. I tried the Template Size but think that only corresponds to the height value.


Any ideas? Seems like the solution is probably staring me in the face, but I'm having a tough go of it. Can't seem to find much online about gallery wrap/height for responsive design.


Helpful resources

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (2,496)