Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: EToreo on January 20, 2013, 11:53:13 PM
-
I have a few dynamic tables (and grids) in my GUI. They start out with no children and then I add content dynamically at run time. They are under drag-able panels attached to scroll bars. After I am done dynamically adding content it would be nice if said content was positioned at the top of the panel, but the first item in the table (or grid) is always centered vertically in the panel. How do I tell the drag-able panel to correct this? Touching the scroll bar fixes it - but it would be nice to have it come up correctly.
I have attached some examples of what I am talking about.
-
Why don't you just move the table/grid up by half of the scroll area's height?
-
Worked like a charm. Thanks.