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?
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
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.