# Perspective Flex Repeater Question

**URL:** <https://forum.inductiveautomation.com/t/perspective-flex-repeater-question/108720>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 21, 2025, 12:33pm UTC](https://forum.inductiveautomation.com/t/perspective-flex-repeater-question/108720 "2025-07-21T12:33:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noah\_Casey](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@Noah\_Casey](https://forum.inductiveautomation.com/u/Noah_Casey)\
**Post date:** [July 21, 2025, 12:33pm UTC](https://forum.inductiveautomation.com/t/perspective-flex-repeater-question/108720/1 "2025-07-21T12:33:17Z")

</div>

Hello everyone, I have been working with flex repeaters for a while now, but I've come across an issue/question to see if anyone has a work around for the setup I want to implement...

Essentially I have some hard coded heights/widths:  
I have a CellLarge/Medium/Small and then a CellSorter View each instance of the flex repeater is a Cell Sorter card with the Default Width/Size set.

I've got the sizing working great it picks between the different sizes small/medium/large, but I would like to have the views stack on top of eachother for the small views.

This is what my current screen is generating:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/d/2d2148b0dfde35c355eed4473916ebe00cae45b8.png)

I would like to have something like this:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/4/14312fcf8f57d987295181e94e11a1410e6b3b31.png)

Does anyone have any ideas how I could sort it out in this order I already have logic so that it sorts the cards by priority (ex large,medium,small)

I know the mockup sizing looks a bit off but even when sizing correctly where there should be room to stack it doesn't.

---

<div class="post-metadata">

**Author:** ![tgarrison](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tgarrison/32/80965_2.png) [@tgarrison](https://forum.inductiveautomation.com/u/tgarrison)\
**Post date:** [July 21, 2025, 12:37pm UTC](https://forum.inductiveautomation.com/t/perspective-flex-repeater-question/108720/2 "2025-07-21T12:37:08Z")

</div>

It would seem like you need 3 flex repeaters. One for each size. Then control the width of each so that it forces however many columns you want.

---

<div class="post-metadata">

**Author:** ![Noah\_Casey](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@Noah\_Casey](https://forum.inductiveautomation.com/u/Noah_Casey)\
**Post date:** [July 21, 2025, 12:42pm UTC](https://forum.inductiveautomation.com/t/perspective-flex-repeater-question/108720/3 "2025-07-21T12:42:26Z")

</div>

That's a good idea something like 3 flex repeaters with each repeater holding the designated sizes ex: Large/Medium/Small instead of forcing all of the same sizes in one?

---

<div class="post-metadata">

**Author:** ![tgarrison](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tgarrison/32/80965_2.png) [@tgarrison](https://forum.inductiveautomation.com/u/tgarrison)\
**Post date:** [July 21, 2025, 12:43pm UTC](https://forum.inductiveautomation.com/t/perspective-flex-repeater-question/108720/4 "2025-07-21T12:43:45Z")

</div>

Yup. There's no way I know of to not get a flex repeater to "best fit" stuff. It's a straight rows/columns type of thing. Which is what you want, but you want it for each type, and it can't do that on its own.

So probably

```python
   <flex row>
     <flex repeater (row) - large> width set to just fit X number of large side by side
     <flex repeater (row) - medium>width set to just fit X number of medium side by side
     <flex repeater (row) -small>width set to just fit X number of small side by side

```

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [July 21, 2025, 1:42pm UTC](https://forum.inductiveautomation.com/t/perspective-flex-repeater-question/108720/5 "2025-07-21T13:42:10Z")

</div>

Also need to Set the flex container (repeater) to wrap in its props
