# Perspective - Flex Repeater alignItems stretch

**URL:** <https://forum.inductiveautomation.com/t/perspective-flex-repeater-alignitems-stretch/27605>\
**Category:** Ignition\
**Created:** [August 20, 2019, 6:42pm UTC](https://forum.inductiveautomation.com/t/perspective-flex-repeater-alignitems-stretch/27605 "2019-08-20T18:42:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trent.Boudreaux](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/trent.boudreaux/32/4138_2.png) [@Trent.Boudreaux](https://forum.inductiveautomation.com/u/Trent.Boudreaux)\
**Post date:** [August 20, 2019, 6:42pm UTC](https://forum.inductiveautomation.com/t/perspective-flex-repeater-alignitems-stretch/27605/1 "2019-08-20T18:42:32Z")

</div>

I’m running Ignition 8.03 and having trouble getting my instances to stretch inside of a flex repeater.  
If I understand the [documentation](https://docs.inductiveautomation.com/display/DOC80/Perspective+-+Flex+Repeater) correctly, I should just have to set alignItems: stretch on my flex repeater, but that doesn’t seem to be working.

In this example, I would like the icons to span across the entire width of the Flex Repeater, but the instance width doesn’t change when resizing the Flex Repeater component. The width of the flex repeater instance stays set as defined in the underlying view.

 ![Flex%20Repeater%20View](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/33e98c6549d12ba7250897c4545c46c5a826e77f.png) ![Flex%20View](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f6a17c4f3b20efaeaf61f22a3f0f76052dfb1c09.png)

---

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [August 20, 2019, 6:46pm UTC](https://forum.inductiveautomation.com/t/perspective-flex-repeater-alignitems-stretch/27605/2 "2019-08-20T18:46:31Z")

</div>

I haven’t messed around with perspective in a bit, but try un-checking the ‘useDefaultViewWidth’ and ‘…Height’ boxes. I’m guessing those might overwrite the stretch property.

---

<div class="post-metadata">

**Author:** ![Trent.Boudreaux](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/trent.boudreaux/32/4138_2.png) [@Trent.Boudreaux](https://forum.inductiveautomation.com/u/Trent.Boudreaux)\
**Post date:** [August 20, 2019, 6:49pm UTC](https://forum.inductiveautomation.com/t/perspective-flex-repeater-alignitems-stretch/27605/3 "2019-08-20T18:49:45Z")

</div>

> [@grietveld](#):
>
> un-checking the ‘useDefaultViewWidth’ and ‘…Height’ boxes

That did the trick! thank you!!!
