Great, that's exactly what i needed. I don't know why I haven't found that solution before. Thanks
I tried using anchor before this, but that only works for keeping an object at the bottom, top, left or right not the center.
And thanks for the link to you're tutorial, that'll probably help me a good bit on my way.