On Wednesday, August 31, 2011 9:18:22 AM UTC+2, James Horsley wrote:
Would love to have the naturally resizing header and footer but to
then add a SplitLayoutPanel as the center. Doing so causes nothing to
show which I'm guess is due to HeaderPanel not being a LayoutPanel?
HeaderPanel is a RequiresResize, and if you look at its source, you'll see that it'll call onResize on its content widget if it's a RequiresResize too. I guess the reason HeaderPanel doesn't implement ProvidesResize is because it doesn't implement the behavior for the header and footer.
This does however make it a "layout panel".
In other words: it should work. (and I have no idea why it doesn't)
-- 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/-/Kpd-yKfZSuIJ.
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