I’m trying to change the size of each template in a repeater. For example, I want the first template to be 50 pixels, the next template to be 30, and so on. I’ve added a Template Parameter called compHeight and, since there is no way to directly change the height at runtime, I added this script in the propertyChange event on the template:
if event.propertyName == 'compHeight':
system.gui.resizeComponent(event.source, 400, event.newValue)
I also added ‘compHeight’ to my Template Parameters table where my repeater resides. Is what I’m doing even possible?
Thanks