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.