On 9 October 2010 03:17, Somu <[email protected]> wrote: > When i m using Multiple Labels by <gwt-Label> tag, it is displayed one > by one. > e.g. my code is like, > > <gwt-Label>Label 1</gwt-Label><gwt-Label>Label 2</gwt-Label><gwt- > Label>Label 3</gwt-Label> > <gwt-Label>Label 5</gwt-Label><gwt-Label>Label 6</gwt-Label><gwt- > Label>Label 7</gwt-Label><gwt-Label>Label 8</gwt-Label> > > output is like, > > Label 1 > Label 2 > Label 3 > Label 4 > Label 5 > Label 6 > Label 7 > Label 8
That's because each GWT Label is simply a <div>/</div> pair. And divs are block-level elements. > But i want the result like, > > Label 1 Label 2 Label 3 Label 4 Label 5 Label 6 Label 7 Label 8 > > Don't suggest me like, Write the code in between the Horizontal panel. Why not? That would seem an obvious solution? > Answer me it take line break automatically...? You could also use CSS to change the div to an inline-level element. -- 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.
