Resizing text field width in the template repeater

Is there a way we can resize the width of the text field according to the tags? The tags differ by numbers like 1,2,3…100
The goal is to display the text fields in the template repeater with similar values but different width.

You could try to use the transform function on property change: