cancel
Showing results for 
Search instead for 
Did you mean: 

Horizontal Flexible Width Gallery

I always wondered why there was a vertical flexible height gallery but not a horizontal flexible width gallery in the list of galleries that you can insert in your apps... 🤔

Image 3.png

Anyway... I think that lots of people (me included 😊) would love to have an Horizontal Flexible Width Gallery. This would allow us to create column headers for vertical galleries, or toolbars with buttons, etc.

@R3dKap 

Status: New
Comments
Frequent Visitor

Can't you already set the width of horizontal galleries 'cells' by manipulating the Template Size value?Screenshot 2020-05-20 at 17.28.11.png

Super User

Hi @rvanraamsdonk,

I'm afraid not. The template size property is mainly used by the "fixed" horizontal and flexible galleries to the set the size of the template for ALL items in the gallery. You cannot use it in a horizontal gallery to have various sizes to gallery's "cells".

That is why Power Apps provides a flexible height gallery control which automatically resizes each cell to its content (meaning that the TemplateSize property in that case is not really relevant).

Resident Rockstar

Hi,

 

I was looking for the same option in PowerApps.

 

To provide a use case here:

Let say I use a vertical gallery to create a DataTable like list. In there I have to put all kinds of controls (labels, icons, images) to show the user the record attributes. When I would like to change the width and ordering of those controls I have to manually reorder them. 

With a horizontal flexible width gallery I would be able to add this gallery to my vertical gallery. Put all the desired controls into the gallery.template and provide a schema to the gallery to set-up the proper controls.

Even I could add an option for the user to re-arrange the ordering of the fields and set the visibility to make my interface more dynamic. 

Btw, would be nice when the Gallery.OnSelect could be set to Select(Parent) and it would select the parent of the gallery (instead of the parent is the gallery itself)


@Anonymous could you maybe add the right person in the team to this threat? Thanks.