You need to set the css of the label to display:inline
There's no need to use the HorizontalPanel unless you need to do something a
table will do that a div won't do .

Ian

http://examples.roughian.com


2009/7/8 任胜韦 <[email protected]>

> Please show me a simple example "how to place two widgets on the same
> line"
> I usually wirte code like this:
> #
> panel.add(label);
> panel.add(textbox);
> #
> and these two widgets are always in two lines.
>
> THX~
>
> --XiaoR
>
> >
>

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