Try using DockLayoutPanel instead, and make sure you attach it to the
RootLayoutPanel instead of the RootPanel.

DockLayoutPanel dock = new DockLayoutPanel(Unit.EM);
dock.addNorth(myHeader, 5)
dock.addWest(new ScrollPanel(myNav), 20);
dock.add(myCenterThing);
RootLayoutPanel.get().add(dock);

DockPanel is deprecated because in standards mode, its very difficult to get
it to layout correctly.

Thanks,
John LaBanca
[email protected]


On Thu, Jan 20, 2011 at 4:58 PM, Vamshidhar Reddy Chitti <
[email protected]> wrote:

> Hi,
>
> I am trying to build a application which contains header at the top, and
> navigation at left and at center for loading any application. For this
> requirement I have used
> DockPanel, for center I have used Frame widget. But I am unable to resize
> frame so that it covers south,east regions.
>
> Is there any better approach?
>
> thanks
> vamshi
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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