Did you figure out the problem with the outer-most DockLayoutPanel?

Not knowing the intended design of your app, a LayoutPanel can create
a centered region of a particular size, either relative with
percentages or fixed.  But, without some gymnastics it won't center
something based on the final size of its contents.  But for short-term
entry like login forms, you might consider dialogs instead of sticking
them in your main content area.  In the end, whatever works best for
your design, just note the caveats on using the table-based Vertical
and Horizontal Panels in standards mode:

http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html#Standards

On Jun 2, 3:21 am, Magnus <[email protected]> wrote:
> Hi,
>
> well, to center my "main" panel horizontally and vertically, I need a
> method to set the alignment. These methods are provided by Horiziontal/
> VerticalPanel, but not by DockLayoutPanel. Or am I wrong?
>
> Thanks
> Magnus
>

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