Sunday, July 27, 2014

Re: onResize not called in custom widget

The onResize() method will only be called automatically if you place your widget inside a widget that implements ProvidesResize [1]. Also the RequiresResize/ProvidesResize chain must be correctly setup up to the RootLayoutPanel. The RootLayoutPanel is actually the panel that listens for windows resize events and then calls the onResize() method on its child widgets.

In any other case you must call the onResize() method yourself.


-- J.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment