I am using a Flex Repeater in Ignition Perspective. Inside it, I dynamically pass the instances and set the mode to wrap. I was able to adjust the horizontal (width) gap, but I'm having trouble adjusting the vertical (height) gap between instances. Also, I want the Flex Repeater to display only 4 instances per row (i.e., 4 columns).
When I switch to a different tab or view size (like tablet or mobile), the Flex Repeater
automatically adjusts and shows only 3 or 2 instances per row.
But I want the layout to always show exactly 4 instances per row, regardless of screen size
or view type.
If anyone has suggestions, it would be very helpful!
Yes, I adjusted the basis property, and it successfully shows 4 columns per row.
But on the next row, the layout doesn't display correctly — the components inside the instances are overlapping or not aligned properly.
I also tried using a template view for the Flex Repeater, but the issue still occurs.
We'll also adjust the height gap.
Err, what about style.gap? Using a fixed percentage will be awfully breaky
Nevermind, I jumped to conclusions before reading the "4 per row" part. I think you could use something like basis: calc(25% - 3px) though so the gap doesn't change size as the page gets bigger