I have a loop where I create texfields based upon an xml file. SOme of the textfield have one line, some have two. They are autosized.

The problem is that the one line textfields are spacing the same amount as the two lined ones, creating more space in-between those( hence, not spaced evenly);

so it looks like this:

Textfield 1 Line


TextField
2 LInes

TextField
2 LInes




this is the code I am using right now:

Code:
clientButton._y = (clientButton._height + 10) * c;
The 10 is the padding. Anyone know how I could space them evenly?