void (RadContainer grid) { FormLayout layout = (FormLayout) grid.getLayout(); for(RadComponent c: grid.getComponents()) { CellConstraints cc = layout.getConstraints(c.getDelegee()); GridConstraints gc = c.getConstraints(); copyCellToGridConstraints(gc, cc); } }