I need a panel that lays out its children manually according it's
current size. I did it changing onResize() method of LayoutPanel. The
problem is that onResize() is not called initially when the panel is
just attached, only when resized, and thus children sizes could not be
set: when attaching getOffsetHeight() and getOffsetWidth() always
return 0. Intercepting of onLoad() and onAttach() does not help.
Is there any way to intercept an event when LayoutPanel aquires it's
initial size?
Antón
--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment