libraries/ManiaLib/Gui/Component.php
function setAlign($halign = null, $valign = null)
    {
        $oldHalign = $this->halign;
        $oldValign = $this->valign;
        $this->valign = $valign;
        $this->halign = $halign;
        $this->onAlign($oldHalign, $oldValign);
    }
function setAlign($halign = null, $valign = null)
    {
        $oldHalign = $this->halign;
        $oldValign = $this->valign;
        $this->valign = $valign;
        $this->halign = $halign;
        $this->onAlign($oldHalign, $oldValign);
    }
Sets the alignment of the element
@param string Horizontal alignement can be eithe "left", "center" or
"right"
@param string Vertical alignment can be either "top", "center" or
"bottom"