Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Wrapcount changes my gallery orientation

Hi All,


I'm facing the following issue with my horizontal gallery.

If I insert a wrapcount it changes to a vertical gallery. 

THis following wrapcount is 1


The gallery changes to the vertical orientation as shown below.

wrapcount = 4


Hope someone can help me with this. 


Thank you. 



Super User
Super User

Hi @ViswaDevanNair ,

It is doing exactly as you asked - you have four elements in your gallery which take up most of the available width. If you try to divide the available area by 4, you will only fit one per line which is exactly what it is doing.

Frequent Visitor

Hi @WarrenBelz ,


Thank you for that information. 

I was replicating what Reza Dorrani was doing with his responsive app layout. 

In his video he uses the wrap count for evenly distrubuting the horizontal gallery. 

This is the video i was following.

18 minutes into the video he does the wrapcount on the horizontal gallery. 


I would like to distribute the gallery evenly, can you advise on how to do that? 


Thank you. 




@ViswaDevanNair ,

You might have mentioned you were following @RezaDorrani 's video in your initial post - I responded from what appeared to be the normal behaviour of a horizontal gallery (displaying the elements horizontally) on a single wrap count which yours appears to do. You might re-watch the video as it contains a whole heap of dynamic changes and is also in a container (which I do not use)

Thanks @WarrenBelz

I'll check with @RezaDorrani 



Helpful resources

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (3,589)