Wednesday, June 2, 2010

Re: inserting space between form elements

Hi Magnus,

on the long run two things will happen

1) you will switch to an absolute layout, may be with some kind of
layout manager
2) you need to learn more about css.

on the short run put a non breaking space in your label ("&nbs;" or
char #160)

Stefan Bachert
http://gwtworld.de


On 1 Jun., 19:39, Magnus <alpineblas...@googlemail.com> wrote:
> Hi,
>
> I use VerticalPanel for my forms. I subsequently and alternating add
> Labels and TextBoxes:
>
> add (<Label>);
> add (<TextBox>);
> add (<Label>);
> add (<TextBox>);
>
> I would like some space between the last TextBox and the next Label. I
> tried:
>
> add (<Label>);
> add (<TextBox>);
> add (new Label (""));
> add (<Label>);
> add (<TextBox>);
>
> But nothing happens...
>
> How can I get some space between the items?
>
> Magnus

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate