A Composite wraps another Widget. A ResizeComposite wraps a Widget, that
implements HasLayout, since it will delegate resizing to it. A Button
does not implement HasLayout, so it cannot be wrapped by ResizeComposite.
Regards
Jan Ehrhardt
Am 08.04.10 12:22, schrieb gadaleta.marco:
When I try to add to RootPanel a class that extends ResizeComposite
(in this class i add only a simple button),
I receive this error message: "LayoutComposite requires that its
wrapped widget implement HasLayout".
Can anyone, help me??
Txh, Marco
--
You received this message because you are subscribed to the Google Groups "Google
Web Toolkit" group.
To post to this group, send email to google-web-tool...@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.