On 14 December 2010 07:56, John LaBanca <[email protected]> wrote:
> Just to be clear, HorizontalPanel is still supported and can still be used
> in strict mode to layout children horizontally, ensuring that they never
> wrap to the next row.  It sounds like this is what you need.
> The difference between quirks and strict is a behavioral one.  In quirks
> mode, setting the button's height and width to 100% would fill the cell in
> the HorizontalPanel.  In strict mode, this is not the case.  The doc you
> referenced is just making this point, which is why it says "And of course,
> you can continue to use HorizontalPanel itself, as long as you take the
> caveats above into account."

To me, these two sentences are more important: "The main difference is
that their children will not respect width and height properties (it
is common to set children of CellPanels explicitly to 100% width and
height). There are also differences in the way that the browser
allocates space to individual table rows and columns that can lead to
unexpected behavior in standards mode." I don't really want
"unexpected behaviour". :-) It sounds to me like using quirks mode
dependent panels is just asking for trouble?

By the way, I am quite curious why Grid is not listed as an
alternative to HorizontalPanel (or VerticalPanel for that matter).
Would that not be the natural replacement? Or does it behave
differently?

-- 
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