ta to set values in the UI
  function setFrameFormData(el) {
    gridColumnsOrRows.value = el ? el.layout : "horizontal";

    let common = el.commonData;
    gridMarginLeft.value = common ? toNumber(common.marginLeft, 0) : 0;
    gridMarginRight.value = common ? toNumber(common.marginRight, 0) : 0;
    gridMarginTop.value = common ? toNumber(common.marginTop, 0) : 0;
    gridMarginBottom.value = common ? toNumber(common.marginBottom, 0) : 0;
    gridScrolling.checked = common ? common.scrolling : false;

 