return childSize;
}
private void scheduleResize( final Widget widget ) {
if ( widget instanceof RequiresResize ) {
final RequiresResize requiresResize = (RequiresResize) widget;
Scheduler.get().scheduleDeferred( new ScheduledCommand() {
@Override
public void execute() {
requiresResize.onResize();
}
} );
}
}