cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
seadude
Level 10

GALLERY.LAYOUT?: How to access this property?

Hello,

When you insert a new Horizontal Gallery control, the TemplateSize property is set to:

If(Gallery1.Layout = Layout.Horizontal, Min(280, Gallery1.Width - 60), Min(280, Gallery1.Height - 60))

I'd like to try manipulating `Gallery1.Layout` and `Layout.Horizontal` in some formulas as part of responsive design.

.Layout does not appear in the property list for the Gallery (I do see it on the right under Properties, but "Horizontal" is not in the list).

Am I missing it or is .Layout not accessible in formulas?

THanks!

1 REPLY 1
Highlighted
Dual Super User
Dual Super User

Re: GALLERY.LAYOUT?: How to access this property?

Hi @seadude 

 

Gallery1.Layout is not a property that can be updated

It is read only

 

You can update the templatesize property based on screen size or some variable that you set

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 345 members 6,395 guests
Please welcome our newest community members: