void (final RadContainer container, final RadComponent component, final int index) { super.addComponentToContainer(container, component, index); final CellConstraints cc = gridToCellConstraints(component); if (component.getCustomLayoutConstraints() instanceof CellConstraints customCellConstraints) { cc.insets = customCellConstraints.insets; } component.setCustomLayoutConstraints(cc); container.getDelegee().add(component.getDelegee(), cc, index); }