Labels on TOP

Hi Guys,

I am using JPAContainer to persistent data on database as I am using vaadin form to create my forms.

    editorForm = new BeanValidationForm<Username>(Username.class);
    editorForm.setFormFieldFactory(this);
    editorForm.setWriteThrough(false);
    editorForm.setImmediate(true);
    editorForm.setItemDataSource(usernameItem, Arrays.asList("nome",
            "endereco", "telefone", "cidade", "usuario", "senha"));;

But using this the labels will be align right next to the textfield.

I want to put the label on top of the text fields how do I do that? Any ideas ?

Thanks

I have done that using

gl.setSpacing(true);

Never mind Thanks