# Repeat template in a X by Y grid

**URL:** <https://forum.inductiveautomation.com/t/repeat-template-in-a-x-by-y-grid/81097>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [October 27, 2023, 1:27pm UTC](https://forum.inductiveautomation.com/t/repeat-template-in-a-x-by-y-grid/81097 "2023-10-27T13:27:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [October 28, 2023, 12:50pm UTC](https://forum.inductiveautomation.com/t/repeat-template-in-a-x-by-y-grid/81097/3 "2023-10-28T12:50:44Z")

</div>

> [@jimschaefer](#):
>
> if I run the client on anything that has a different screen ratio than my designer setup the grid size is unpredictable

That's not exactly correct, but I agree that the scaling of templates does not always work as expected. The template canvas offers some custom layout options and explicit control over positioning and size, but you will still have to relate that to your screen resolution in some way. One trick that I've used sparingly is to put a path based vision shape [_a square or rectangle_] somewhere in the window. This will give you both explicit bounds [_x,y, width, height_] and relative bounds [_relX, relY, relWidth, relHeight_] which you can use to ratio out size and dimension calculations. For custom scaling within the template itself, you must remember that a template scales relative to the template editor in the designer and not the window editor within the designer. See [this post](https://forum.inductiveautomation.com/t/how-to-transform-a-component-inside-of-a-vision-template/80122/6) for more details on that.

---

_[View the full topic](https://forum.inductiveautomation.com/t/repeat-template-in-a-x-by-y-grid/81097)._
