On Wednesday, November 7, 2012 1:27:49 PM UTC+1, Pedro LamarĂ£o wrote:
I've recently saw reason why try to use a custom FlowLayoutPanel, with the
minimal definition suggested in ProvidesResize's javadoc, in my
applications.
Then, I actually looked for a standard one with a doh! sensation, after
remembering there is a SimpleLayoutPanel just like SimplePanel.
But there is no standard FlowLayoutPanel.
Is there strong reason why not? or perhaps this is just for lack of
motivation? do people use something like it?
FlowPanel doesn't *do* layout its children; this means that one widget
changing its size could lead to sibling widgets being resized too, without
the FlowPanel being even notified about it (e.g. change some InlineLabel's
text and suddenly another InlineLabel wraps, changing its size).
I therefore don't think a FlowLayoutPanel is even possible.
--
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/-/4CVtXAv3AB8J.
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.