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

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,260)