On Wed, Apr 18, 2012 at 00:19, stagirus <[email protected]> wrote:
> Thank you very much. I did not find many classes that are based on the new
> Layout panel design. Does the single LayoutPanel class support all the
> features of older HorizontalPanel and VerticalPanel. What about the
> AbsolutePanel and FlowPanels? Are they compatible with the new LayoutPanels?

The underlying technology are almost exactly the same between
AbsolutePanel and LayoutPanels, where widgets inside them are placed
absolutely.

HorizontalPanels and VerticalPanels place child widgets inside table
cells. And tables behave differently to divs. However, it's perfectly
fine to place Horizontal/VerticalPanels inside layout panels, provided
that you don't then place layout panels inside the
Horizontal/VerticalPanels.

I recommend reading the javadoc of the widgets you are about to use,
and ensure that they work in standards mode. There are a few widgets
that only work in quirks mode and you'll need to avoid them. GWT had
however provided substitutes to them that works in standards mode in
most cases.

Again, the key is that LayoutPanels need explicit size information,
either by being inside a ProvidesResize, or by given the size, many of
the old style Panels don't, they auto expand as their contents grow.

Sometimes for sophisticated UI, developing your own widgets will
almost be unavoidable.

HTH.

-- Joe

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to