I'm trying to make some production-quality UI with tk2d and struggling a bit.
I like the anchoring of the layout containers very much, but I'm struggling to do simple stuff like centering and aligning element.
For instance, I have a large panel, with a background sliced sprite. Inside that panel is a button, with a UI item at the top level. With the UI item, the button's anchor is in the top right:
https://www.dropbox.com/s/c78x2in3pfbck8d/Screenshot%202014-07-18%2020.08.55.pngI want this button to be central to the containing panel. Because of where the anchor is, I can't just child the button to the panel and set the X value to 0. I have to just do it by hand.
I'm not expecting Keynote-levels of alignment snapping, but is there some way for me to line this up reliably? Am I missing something?
Cheers.