else {
let layout = app.activeLayout();
let pasteboardHt = qxMeasurements.convertAnyUnitToPoints(qxMeasurements.getPasteboardDims(layout).height);
if (qxConstants.debugMode) console.log("pasteboard Height: " + pasteboardHt);
let pasteboardWt = qxMeasurements.convertAnyUnitToPoints(qxMeasurements.getPasteboardDims(layout).width);
if (qxConstants.debugMode) console.log("pasteboard Width: " + pasteboardWt);
let boxTop = qxMeasurements.convertAnyUnitToPoints(box.style.qxTop);
let boxBottom = qxMeasurements.convertAnyUnitToPoints(box.style.qxBottom);
let boxLeft = qxMeasurements.convertAnyUnitToPoints(box.style.qxLeft);
let boxRight = qxMeasurements.convertAnyUnitToPoints(box.style.qxRight);
let maxBoxDim = qxMeasurements.convertAnyUnitToPoints("242in");
let maxVal = Math.min((2 * boxTop) + 72, (2 * (boxLeft + (pasteboardWt / 3))) - 1, (2 * (pasteboardHt - 36 - boxBottom)), (2 * ((pasteboardWt * (2 / 3)) - boxRight)), (maxBoxDim - boxWidth), (maxBoxDim - boxHeight));
if (qxConstants.debugMode) console.log("Maximum grow amount possible: " + maxVal);
let input = qxInputs.getValidNumericInput(inputStr, "72", "0", maxVal, false, currHorzUnits);
if (input != null) {
input = qxMeasurements.convertAnyUnitToPoints(input);
amount = input;
}