Good idea & Many thanks. I know the Hpanel, and in my program ,i add many many Hpanel and Vpanel. You know,it's so hard to deal with so many panels. i just wanna something like <span></span>, or if it's possible to use CSS?
--XiaoR On Wed, Jul 8, 2009 at 12:45 AM, Neha Chachra <[email protected]>wrote: > I am guessing you aren't using the Horizontal Panel. In horizontal panel, > the widgets are added in the same line: > HorizontalPanel panel = new HorizontalPanel( ); > panel.add(label); > panel.add(textBox); > > The example is here: > http://gwt.google.com/samples/Showcase/Showcase.html#CwHorizontalPanel > > <http://gwt.google.com/samples/Showcase/Showcase.html#CwHorizontalPanel> > -neha > > > On Wed, Jul 8, 2009 at 11:07 AM, 任胜韦 <[email protected]> wrote: > >> 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 -~----------~----~----~----~------~----~------~--~---
