Either your custom widget extends 
ResizeComposite<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/ResizeComposite.html>
 or 
implements RequiresResize and ProvidesResize interfaces. This will ensure 
that the onResize event is propagated to your LayoutPanel. 

You have to make sure that you put your widget in a ResizeLayoutPanel or in 
a Panel which implements ProvidesResize and make sure that there is a 
unbroken chain of ProvesResize/RequiresResize panels up to the 
RootLayoutPane.
Whenever you resize your browser LayoutPanel will resize accordingly. 


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/yxcKVSMLYFEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to