No, in that case you should use HorizontalSplitPanel.
On 20 Jul., 21:15, Rahul <[email protected]> wrote:
> there are no errors when i run it
> Hello and Hello22 comes sides next to each other, shouldnt they be
> separate by an horizontal spilit?
>
> On Jul 20, 2:54 pm, Rahul <[email protected]> wrote:
>
> > Hi,
> > I am not able to see the Horizontal Panel
> > this is my code
>
> > public void onModuleLoad() {
> > HorizontalPanel panel = new HorizontalPanel();
> > Label L1 = new Label();
> > Label L2 = new Label();
>
> > L1.setText("Hello");
> > L2.setText("Hello 22");
> > panel.add(L1);
> > panel.add(L2);
> > RootPanel root = RootPanel.get();
> > root.add(panel);
> > }
> > }
>
> > When i change horizontal Panel to horizontal shift panel its works,
> > but it does not works with horizontal panel
> > why is that?
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---