void (RadContainer container, final boolean isRow, final int cell, final int newSize) { FormLayout formLayout = (FormLayout) container.getLayout(); final ConstantSize updatedSize = getUpdatedSize(container, isRow, cell, newSize); FormSpec newSpec; if (isRow) { RowSpec rowSpec = formLayout.getRowSpec(cell+1); newSpec = new RowSpec(rowSpec.getDefaultAlignment(), updatedSize, rowSpec.getResizeWeight()); } else { ColumnSpec colSpec = formLayout.getColumnSpec(cell+1); newSpec = new ColumnSpec(colSpec.getDefaultAlignment(), updatedSize, colSpec.getResizeWeight()); } setSpec(formLayout, newSpec, cell+1, isRow); resizeSameGroupCells(cell, formLayout, newSpec, isRow); }