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, "[email protected]"
<[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---