# Template Canvas Scaling

**URL:** <https://forum.inductiveautomation.com/t/template-canvas-scaling/14046>\
**Category:** Ignition\
**Created:** [April 13, 2017, 4:53pm UTC](https://forum.inductiveautomation.com/t/template-canvas-scaling/14046 "2017-04-13T16:53:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![zacslade](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacslade/32/3587_2.png) [@zacslade](https://forum.inductiveautomation.com/u/zacslade)\
**Post date:** [January 26, 2018, 10:32pm UTC](https://forum.inductiveautomation.com/t/template-canvas-scaling/14046/4 "2018-01-26T22:32:52Z")

</div>

Also check out this more recent thread:

> [@Adding a listener for window size change](http://forum.inductiveautomation.com/t/adding-a-listener-for-window-size-change/16758):
>
> Since the size of a window is not a bindable property, I can not use it as a property change event for when the size of my window changes. I came across a post which suggested adding a listener would do the job: [The aforementioned useful post](http://forum.inductiveautomation.com/t/propertychange-event-when-window-change-it-size/11369/4) Although the links to explain the java listener were very good and comprehensive, I could not work out how to add it to my window. I believe it needs to be added in the custom method section. But could you please show me a basic example of how one would a…

which asked my question in a much more intelligent way. If you could fire a property change event on window resize, you could repopulate the canvas to suit it.

---

_[View the full topic](https://forum.inductiveautomation.com/t/template-canvas-scaling/14046)._
