I'm adding some elements to a UITable (using NGUITools.AddChild), and I set their heights according to their needs of their contents. After all of this, I call the UITable's Reposition() function. However, the elements are not spaced properly. There are large gaps between them, as though the table still thinks they are their original size. I have the table's padding set to 6, so I would expect only 6 pixels of gap between them, but there is much, much more.
What might cause this behavior?
Thank you.