# Dynamically Changing Template Width in Editor

**URL:** <https://forum.inductiveautomation.com/t/dynamically-changing-template-width-in-editor/66243>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [November 8, 2022, 6:19pm UTC](https://forum.inductiveautomation.com/t/dynamically-changing-template-width-in-editor/66243 "2022-11-08T18:19:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Garrett\_Stocksdale](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@Garrett\_Stocksdale](https://forum.inductiveautomation.com/u/Garrett_Stocksdale)\
**Post date:** [November 8, 2022, 6:19pm UTC](https://forum.inductiveautomation.com/t/dynamically-changing-template-width-in-editor/66243/1 "2022-11-08T18:19:42Z")

</div>

Is it possible to make a template size dynamic?

I am working on making a label with a numeric text field that can have adjustable spacing depending on the situation. Having the text field anchored to the left and the label anchored to the right it appears that everything should work. When I adjust the template width manually it responds correctly; however, there is no easy way to link the width with a template parameter as far as I know.

![2022-11-08 11_59_50-Arconic - Ignition-ETGENGLT497 - Ignition Designer](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/9/5929c3cba30d568c692dd71a9237c97e5d307458.png)

Does anyone know another way of doing this? I thought about scripting, but wouldn't that require an action before it is resized? The hope was to just make development easier.

---

<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:** [November 8, 2022, 9:02pm UTC](https://forum.inductiveautomation.com/t/dynamically-changing-template-width-in-editor/66243/2 "2022-11-08T21:02:37Z")

</div>

Have you enabled layout in the template properties?  
Without this, anchoring components won't have any effect

 ![Screenshot_20221109_073452](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/4/c4b0efe566524f1dc8dec3047fa9b30d65207a32.jpeg)
