Dynamically Changing Template Width in Editor

Is it possible to make a template size dynamic?

I am working on making a label with a numeric text field that can have adjustable spacing depending on the situation. Having the text field anchored to the left and the label anchored to the right it appears that everything should work. When I adjust the template width manually it responds correctly; however, there is no easy way to link the width with a template parameter as far as I know.

2022-11-08 11_59_50-Arconic - Ignition-ETGENGLT497 - Ignition Designer

Does anyone know another way of doing this? I thought about scripting, but wouldn't that require an action before it is resized? The hope was to just make development easier.

Have you enabled layout in the template properties?
Without this, anchoring components won't have any effect