Space out the widget within a vertical panel

2010-05-04 Thread imgnik
Hi all, How do I space out the widget within a VerticalPanel? What is the best method? CSS? How do I do that? Thank you! Bryan -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@goog

Re: Space out the widget within a vertical panel

2010-05-04 Thread Stefan Bachert
Hi, what do you mean with "space out"? Stefan Bachert http://gwtworld.de On 4 Mai, 13:18, imgnik wrote: > Hi all, > > How do I space out the widget within a VerticalPanel? > > What is the best method? CSS? How do I do that?  Thank you! > > Bryan > > -- > You received this message because you ar

Re: Space out the widget within a vertical panel

2010-05-04 Thread imgnik
I think I should be using "item" instead of widget. space out meaning adding a spacing to each item. say I have three textbox inside a VerticalPanel. I want the three textbox to have a even spacing between them. On May 4, 9:53 pm, Stefan Bachert wrote: > Hi, > > what do you mean with "space ou

Re: Space out the widget within a vertical panel

2010-05-04 Thread kelvin.huang
Hi, You can add spacing property for the vertical panel, and it will add specified space between items(widgets) inside the vertical panel. VerticalPanel panel= new VerticalPanel(); panel.setSpacing(spacing); or you can use CSS to set space panel.setStyleName(style).