Center this element to another.
Center this element to another.
1 guiElementInstance element
the element to center this element to.
2 bool horizontalCenter
whether the element should be centered horizontally.
3 bool verticalCenter
whether the element should be centered vertically.