Thanks thats 100% clear now.

On Mar 8, 11:29 pm, Brian <hibr...@gmail.com> wrote:
> The panels lay their children out according to the panel's type.
> Horizontal Panels lay out children (including other panels)
> horizontally, etc ,you don't explicitly arrange their positions, you
> create panel types and let the children flow inside.  You can make an
> AbsolutePanel and set the children where you want, but this may not
> actually be what you want, because when someone resizes the browser,
> you would have to manually recalculate the position of the children.
>
> The basic idea is, you start with something like a DocPanel for your
> overall app, then add other panel typs as children of that doc panel.
> When you're insane or done, you've got a bunch of code to control how
> your app looks, and it all resizes nicely with the browser.
>
> On Mar 8, 7:13 pm, "scottland.yo...@googlemail.com"
>
> <scottland.yo...@googlemail.com> wrote:
> > Can this be used to arrange the actual panels themselves?
>
> > On Mar 8, 11:00 pm, Brian <hibr...@gmail.com> wrote:
>
> > > There are various panels that affect where children are placed.
>
> > > These labels will be side-by-side:
> > > HorizontalPanel hp = new HorizontalPanel();
> > > hp.add(new Label("one"));
> > > hp.add(new Label("two"));
>
> > > These labels will be up and down:
> > > VeritcalPanel vp = new VerticalPanel();
> > > vp.add(new Label("foo"));
> > > vp.add(new Label("bar"));
>
> > > // put 'one two' under "foo bar", but make it run left to right:
> > > vp.add(hp);
>
> > > Basically, by putting things inside of panels, you eventually get the
> > > layout you want, but it does take a lot of typing.
>
> > > On Mar 8, 6:54 pm, "scottland.yo...@googlemail.com"
>
> > > <scottland.yo...@googlemail.com> wrote:
> > > > Hi Folks,
>
> > > > How can I determine where panels are placed in my application?
>
> > > > e.g.       A menu on the left and main content directly on the right
> > > > of it.  When adding panels to my application they add directly
> > > > underneath, is that normal?
>
> > > > Thanks guys.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to