# Template Rotated Component Distortion

**URL:** <https://forum.inductiveautomation.com/t/template-rotated-component-distortion/58514>\
**Category:** Ignition\
**Tags:** ignition80, vision\
**Created:** [April 15, 2022, 10:54pm UTC](https://forum.inductiveautomation.com/t/template-rotated-component-distortion/58514 "2022-04-15T22:54:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [April 15, 2022, 10:54pm UTC](https://forum.inductiveautomation.com/t/template-rotated-component-distortion/58514/1 "2022-04-15T22:54:47Z")

</div>

Has anybody else noticed that sometimes objects that rotate inside a template get distorted as they rotate, despite the fact that the template is the “master” size and “maintain aspect ratio” is selected for the component?

What’s the solution to make sure my rotating circles don’t become ovals?

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [April 15, 2022, 11:25pm UTC](https://forum.inductiveautomation.com/t/template-rotated-component-distortion/58514/2 "2022-04-15T23:25:05Z")

</div>

Is this what you are seeing? This does look like a bug.  
 ![ezgif.com-gif-maker](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/d/fde63449f4407c048b8431141e900f89491e6ddb.gif)

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [April 18, 2022, 2:25am UTC](https://forum.inductiveautomation.com/t/template-rotated-component-distortion/58514/3 "2022-04-18T02:25:41Z")

</div>

Not quite what I was talking about, but that does seem like a bug. I’ll have to see if I have time later in the week to better document it.

I have a template set up for a simple HOA switch. There’s a selector switch that rotates to -45, 0, or 45 degrees based on if hand, off, or auto is selected. The switch is perfectly circular and every time I use the template I make sure to start with the master template size and use ctrl+resize handle to keep the aspect ratio the same. My layout for the template and the switch graphic within the template are both set to maintain aspect ratio. Most of the time the switches look normal, but sometimes they’ll get distorted as the graphic rotates inside the template.

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [April 18, 2022, 2:29am UTC](https://forum.inductiveautomation.com/t/template-rotated-component-distortion/58514/4 "2022-04-18T02:29:08Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/c/fc3e8d8e7268f558d2754b9c8af749f4de3a150e.png)

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [April 18, 2022, 2:46am UTC](https://forum.inductiveautomation.com/t/template-rotated-component-distortion/58514/5 "2022-04-18T02:46:21Z")

</div>

That does hide the issue i am seeing and might solve the OP’s issue. I still think there’s a bug here, if you don’t rotate the component, resizing the template instance works as expected. As soon as you rotate something that isn’t in the master aspect ratio is like it gets locked in.

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [April 18, 2022, 3:00am UTC](https://forum.inductiveautomation.com/t/template-rotated-component-distortion/58514/6 "2022-04-18T03:00:11Z")

</div>

Thanks, I’ll give that a try and see if it stops happening.

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [April 18, 2022, 4:09am UTC](https://forum.inductiveautomation.com/t/template-rotated-component-distortion/58514/7 "2022-04-18T04:09:31Z")

</div>

Use anchor layout

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [April 18, 2022, 7:33pm UTC](https://forum.inductiveautomation.com/t/template-rotated-component-distortion/58514/8 "2022-04-18T19:33:42Z")

</div>

I contacted support and they have confirmed that the issue i am seeing is a bug. IGN-5903 if anyone is curious.
