Vaadin Example

Hi,
I just installed the vaadin plugin and I ran an example:
http://demo.vaadin.com/sampler#DragDropRearrangeComponents

I just wondered how I can change the code that the items are vertical listed and not horizontal. The Sortable layout seems to be responsible for this… but changing it to a VerticalLayout results in a strange view… only two objects are shown then… but at least it is vertical then…

Has anyone an idea how to do this right or if it is even possible?

thanks !!!

It is most likely a layout size issue; it should be fully possibly to change the orientation. Try removing the line

layout.setHeight("100px");

This should give them enough room to show all components.