DesktopX Aligning objects and reference points

When I set an object to be centrally aligned, the Object.Left etc still points to the furthermost left hand co-ordinate of the object right? Also, children still take their position reference points from the Top left corner of the parent.

I was wondering if it could be made so that a centrally aligned object (or right) have their reference points stored (ie the x,y of the center) and accessible.

Also could children attached to a centered object take their reference from the objects center?

I can get around this using a few variables and some maths, but it seems to me more logical to take references from the main position method used in an object. But that's me.

1,267 views 1 replies
Reply #1 Top
I've found its easier to use the math to figure out the centers anyways...