Hello. I'm very new to NGUI and I'm trying to figure out how best I should best organize my UI elements in a panel using anchors. I want to anchor everything offset from the top left side and I've been following Example 1 in NGUI Free 2.0.7c.
My current setup is as follows:
UI Root
--> Camera
-->--> Panel
-->-->--> Anchor
-->-->-->-->UITable
-->-->-->-->-->Label
The odd thing I've noticed is that I can organize everything such that it makes sense in the editor, but when I run my project, the transform of the UITable is overridden and changes from 0,0,0 to 19.33334, -270, 0 and is part way down the screen. The Label is top left aligned with a transform of 0, -10, 0.
Poking around I've noticed that the transform values of my Camera, Panel, Anchor all seem to occasionally get modified when move a bunch of things around and then I run the game. I'm wondering what is going on here, how these values change, and what am I supposed to do? Is there a best practice of moving certain things in an order? I'd guess that the size of my Panel should be the size of the screen I want? What about the size of every other element such as the Anchor?