List of usage examples for com.vaadin.ui FormLayout setHeightUndefined
@Override public void setHeightUndefined()
From source file:com.example.EditingWindow.java
License:Apache License
protected FormLayout makeFormLayout(BeanFieldGroup<Person> fieldGroup, BeanItem<Person> item) { FormLayout formLayout = new FormLayout(); formLayout.setMargin(true);//from w w w.j a v a 2 s. c o m formLayout.setHeightUndefined(); fieldGroup.setItemDataSource(person); for (Object pid : item.getItemPropertyIds()) { if (pid.equals("id")) continue; formLayout.addComponent(fieldGroup.buildAndBind(pid)); } return formLayout; }