31
NGUI 3 Support / Correct way to create an UITable? (The UITable moves after attaching an item)
« on: February 04, 2013, 09:01:49 AM »
So I've tried a few dozen ways of creating UITables based on the example files, but I always end up running into the same problem: the UITable container ends up moving as soon as a single item is put into it.
I've included two screenshots, one before I put an object into the UITable, and the second one after I place an object in it. The entire UITable moves.
Any ideas on what's causing this? I did a search on the forums and it was said that there's a specific way to set up the game object that acts as the UITable with the Panel that manages it; but I can't find the correct way.
Many thanks in advance!
Edit: (Forgot to say we're using the latest version.)
I've included two screenshots, one before I put an object into the UITable, and the second one after I place an object in it. The entire UITable moves.
Any ideas on what's causing this? I did a search on the forums and it was said that there's a specific way to set up the game object that acts as the UITable with the Panel that manages it; but I can't find the correct way.
Many thanks in advance!
Edit: (Forgot to say we're using the latest version.)