.itemSpacing, 0) : 0;
    if (isVerticalLayout())
      gridVerticalSpacing.value = auto ? toNumber(auto.itemSpacing, 0) : 0;
    basicSizePolicy.value = auto && auto.sizePolicy ? auto.sizePolicy : "fixed";

    limitContent.checked = el && el.limitContent;
    let lcd = el.limitContentData;
    maxNumItems.value = lcd ? toNumber(lcd.maxNumItems, 1) : 1;
    overflowNodeName.textContent = lcd ? lcd.overflowNodeName : "";
    overflowNodeId = lcd ? lcd.overflowNodeId : "";
    let hasOverflowNode = (lcd && l