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.

[1] 
http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/ProvidesResize.html

-- 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to