# Help with containers

**URL:** <https://forum.inductiveautomation.com/t/help-with-containers/38905>\
**Category:** Ignition\
**Created:** [September 21, 2020, 8:27pm UTC](https://forum.inductiveautomation.com/t/help-with-containers/38905 "2020-09-21T20:27:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bellm](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@bellm](https://forum.inductiveautomation.com/u/bellm)\
**Post date:** [September 21, 2020, 8:27pm UTC](https://forum.inductiveautomation.com/t/help-with-containers/38905/1 "2020-09-21T20:27:13Z")

</div>

When using the Vision module, I was able to create a template that had a Label and Text Field that setup so that I could resize the template and it still maintain the 5px space between the two elements by using the constraints options.

I am having trouble duplicating that function in Perspective, do you have any suggestions on how to go about it?

---

<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:** [September 21, 2020, 8:58pm UTC](https://forum.inductiveautomation.com/t/help-with-containers/38905/2 "2020-09-21T20:58:45Z")

</div>

It’s even simpler in Perspective to do that.  
There are a few ways.  
If you’re using the flex container, you can use a margin style on the components of 5px (preferable). You could also add a label with blank text between the two components and set its basis to 5px with 0 for grow and shrink.  
For a column container I think it has its own margins settings

---

<div class="post-metadata">

**Author:** ![bellm](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@bellm](https://forum.inductiveautomation.com/u/bellm)\
**Post date:** [September 21, 2020, 9:03pm UTC](https://forum.inductiveautomation.com/t/help-with-containers/38905/3 "2020-09-21T21:03:46Z")

</div>

Thank you for the help. I hadn’t dug down into the styles yet. that did exactly what I needed.
