LayoutComponent component = cell.getComponent();
if (component instanceof LayoutContainer && component.isRendered()) {
LayoutManager layoutManager = ((LayoutContainer) component).getLayoutManager();
// TODO: may be improved
boolean childAuto = origin.getSpan(orientation) == 1 && heads[i].getToken() instanceof AutoLayoutToken;
layoutManager.fixRelativeInsideAuto(orientation, childAuto);
}
}
}
if (neitherRendered && !isRigid()) {
heads[i].setRendered(false);