I'm trying to figure out a way to center dynamic text fields vertically after the text has been input. For instance, in some instances I would have a dynamic field with two lines, and I would want to center it between two other dynamic fields- but only after the text has been populated. Maybe a better way of explaining it would be changing the spacing of elements on a page so they're always equidistant from one another.
I've thought about populating an array with the text fields, but the fact that the text is loaded in later is throwing me.
Any help/ideas/suggestions is much appreciated!
assign the width of your multiline textfield, assign its text and then assign its wordWrap property to be true and autoSize property to be left.
your textfield's height will be sized to just fit your text. finally, you can use its height property to position it.