# Is it possible to dynamically resize the height of a template repeater?

**URL:** <https://forum.inductiveautomation.com/t/is-it-possible-to-dynamically-resize-the-height-of-a-template-repeater/115764>\
**Category:** Ignition\
**Tags:** vision, ignition81\
**Created:** [May 28, 2026, 11:13pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-dynamically-resize-the-height-of-a-template-repeater/115764 "2026-05-28T23:13:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdemaris](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdemaris/32/54639_2.png) [@mdemaris](https://forum.inductiveautomation.com/u/mdemaris)\
**Post date:** [May 28, 2026, 11:13pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-dynamically-resize-the-height-of-a-template-repeater/115764/1 "2026-05-28T23:13:48Z")

</div>

Well, the title says it all!  
I have the `templateParams` bound to a named query, and would like to resize the repeater based on the number of templates.

Thanks!

---

<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:** [May 29, 2026, 3:24pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-dynamically-resize-the-height-of-a-template-repeater/115764/3 "2026-05-29T15:24:49Z")

</div>

You could trigger a transform call to resize or reposition the repeater using the `templateParams` propertyChange event. The code would look something like this:

```python
if event.propertyName == 'templateParams':
	
	# Set the height of the repeater to 50 pixels per template
	newHeight = 50 * event.newValue.rowCount
	system.gui.transform(event.source, newHeight = newHeight)

```

See the user manual for additional options:  
[8.1 User Manual: system.gui.transform](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-gui/system-gui-transform)

---

<div class="post-metadata">

**Author:** ![mdemaris](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdemaris/32/54639_2.png) [@mdemaris](https://forum.inductiveautomation.com/u/mdemaris)\
**Post date:** [May 29, 2026, 6:07pm UTC](https://forum.inductiveautomation.com/t/is-it-possible-to-dynamically-resize-the-height-of-a-template-repeater/115764/4 "2026-05-29T18:07:17Z")

</div>

Thank you, Justin. That's exactly what I needed.
