On Monday, May 28, 2012 10:36:50 AM UTC+2, Matthew Pocock wrote:
On 27 May 2012 22:11, Thad <thad.humphries@gmail.com> wrote:Yes! I must see at least one a week here "Don't mix layout and non-layout panels."If this is such a common mistake, does/should the tooling give warnings?
See http://code.google.com/p/google-web-toolkit/issues/detail?id=5874
The challenge here is to avoid false-positive warnings, when you add a layout panel (RequiresResize) to a non-layout-panel (ProvidesResize) but give it an explicit size.
There's also the issue of the HeaderPanel, which does not implement ProvidesResize yet provides it for its "center" child (but not for its header and footer children); which means that it would rather be the parent widget which should add the check for its children (HeaderPanel could check its "center" child but not its header and footer children, at its discretion).
-- 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/-/p8UHOVsowrAJ.
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