I have built complex structures using LayoutPanel, gives much flexibility.
Also as Thomas said, you can animate transitions.

By example:
public void setDefaultLayout () {
  ...
  ...
  mainLayout.setWidgetLeftWidth (logo, 0, TCP 100, TCP);
  mainLayout.setWidgetTopHeight (logo, 0, PCT, NORTH_HEIGHT, PX);

  mainLayout.setWidgetLeftWidth (navigation, 0, TCP 100, TCP);
 mainLayout.setWidgetTopHeight (navigation, NORTH_HEIGHT, PX 38, PX);
  ...
  ...
  mainLayout.animate (500);
}

You are responsible for positioning the internal widget or panels.

A.U.S Cristian Rinaldi


2012/6/12 Santosh <[email protected]>

> Does layoutpanel give that kind of flexibility to build complex
> structures? I heard this is the simplest panel upon which others are
> built
>
> On Jun 12, 3:35 pm, Thomas Broyer <[email protected]> wrote:
> > How about the LayoutPanel?
> > The advantage of LayoutPanel is that it can animate smoothly between
> states.
> >
> >
> >
> >
> >
> >
> >
> > On Tuesday, June 12, 2012 7:10:19 AM UTC+2, Santosh wrote:
> >
> > > We wanted to design a layout in GWT which has quite a lot of small
> > > small sections on screen. Basically it has a left menu, header,
> > > footer, main content area with lot of sub sections which can be closed
> > > by user in case if he does not want to see them. Then remaining
> > > content section should get adjusted automatically.  We are using GWT
> > > Platform. I am in doubt, whether DockLayoutPanel suits for this or
> > > not, because, it has to be must more flexible. Apart from that, I
> > > didnt get any good layout examples. Can we achieve this using GWT
> > > panels or we have to manually do it using div in module html file?
>
> --
> 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.
>
>

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