for (int i = 0; i < renderedWidgets.size(); i++) {
Widget widget = renderedWidgets.get(i);
String pid = client.getPid(widget.getElement());
ChildComponentContainer container = getComponentContainer(widget);
// Calculate alignment info
container.setAlignment(getAlignment(pid));
// Update expand ratio
container.setNormalizedExpandRatio(getExpandRatio(pid));
}
}