}
public boolean requestLayout(Set<Paintable> children) {
for (Paintable p : children) {
/* Update widget size from DOM */
ChildComponentContainer componentContainer = getComponentContainer((Widget) p);
// This should no longer be needed (after #2563)
// if (isDynamicWidth()) {
// componentContainer.setUnlimitedContainerWidth();
// } else {
// componentContainer.setLimitedContainerWidth(activeLayoutSize
// .getWidth());
// }
componentContainer.updateWidgetSize();
/*
* If this is the result of an caption icon onload event the caption
* size may have changed
*/
componentContainer.updateCaptionSize();
}
Size sizeBefore = new Size(activeLayoutSize.getWidth(),
activeLayoutSize.getHeight());