property minHeight

(r/w) int32 minHeight;

Typ

Zugriff

This property sets and gets the minimum constraining height of the box. This means that in cases where the box is resized in can never have a height that is less than the value provided for this property.
function SetBoxContraints()
{
    var bx = scene.getBoxById("myBox");
    if (bx)
    {
        bx.minHeight = "75";
        bx.minWidth = "20";
        bx.maxHeight = "200";
        bx.maxWidth = "300";
    }
}