libraries/ManiaLib/Gui/Component.php
function setScale($scale)
    {
        $oldScale = $this->scale;
        $this->scale = $scale;
        $this->onScale($oldScale);
    }
function setScale($scale)
    {
        $oldScale = $this->scale;
        $this->scale = $scale;
        $this->onScale($oldScale);
    }
Sets the scale factor of the element. 1=original size, 2=double size, 0.5
=half size
@param float