I would like to calculate bounds of UIGrid content.
I have few UIGrid widgets (in clipped panel) with different counts of items which is added to grid dynamically (created from prefab), after all items has been added I raise the event. By this event I launched calculation of bound by NGUIMath.Calculate... and result for all UIGrids with different InstanceIDs, and content - is always same and value of it is looks like bound of the one item attached to grid (but items has correct arrangement ).
I guess I need do something before call NGUIMath.Calculate but what?
I use NGUI 2.7.