use of com.vaadin.ui.Layout in project opennms by OpenNMS.
the class DialogWindow method createContent.
private Layout createContent(final String description) {
VerticalLayout content = new VerticalLayout();
content.setWidth(100, Unit.PERCENTAGE);
Layout footer = createFooter();
Layout mainArea = createMainArea(description);
content.addComponent(mainArea);
content.addComponent(footer);
content.setExpandRatio(mainArea, 1);
return content;
}
Aggregations