# Resize Template Component

**URL:** <https://forum.inductiveautomation.com/t/resize-template-component/34610>\
**Category:** Ignition\
**Created:** [May 10, 2020, 8:41pm UTC](https://forum.inductiveautomation.com/t/resize-template-component/34610 "2020-05-10T20:41:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![regan.lewis](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/regan.lewis/32/34945_2.png) [@regan.lewis](https://forum.inductiveautomation.com/u/regan.lewis)\
**Post date:** [May 10, 2020, 8:41pm UTC](https://forum.inductiveautomation.com/t/resize-template-component/34610/1 "2020-05-10T20:41:06Z")

</div>

I have a component on one of my templates that I don’t want to resize when I expand it in a normal window. I assume I would use a script just on that one component but haven’t had any luck so far.

Thank you

---

<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:** [May 10, 2020, 9:43pm UTC](https://forum.inductiveautomation.com/t/resize-template-component/34610/2 "2020-05-10T21:43:17Z")

</div>

You need to enable layout on the root of the template, and use anchored layout on your component

---

<div class="post-metadata">

**Author:** ![regan.lewis](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/regan.lewis/32/34945_2.png) [@regan.lewis](https://forum.inductiveautomation.com/u/regan.lewis)\
**Post date:** [May 10, 2020, 9:57pm UTC](https://forum.inductiveautomation.com/t/resize-template-component/34610/3 "2020-05-10T21:57:41Z")

</div>

What if I want everything else in the template to be resized except for that one componant?

---

<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:** [May 10, 2020, 10:00pm UTC](https://forum.inductiveautomation.com/t/resize-template-component/34610/4 "2020-05-10T22:00:37Z")

</div>

I can’t recall, but does setting the other components to relative layout not do this?

---

<div class="post-metadata">

**Author:** ![regan.lewis](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/regan.lewis/32/34945_2.png) [@regan.lewis](https://forum.inductiveautomation.com/u/regan.lewis)\
**Post date:** [May 10, 2020, 10:13pm UTC](https://forum.inductiveautomation.com/t/resize-template-component/34610/5 "2020-05-10T22:13:04Z")

</div>

I had to ungroup them first and uncheck ‘maintain aspect ratio’ but it finally worked. Thank you!
