Search in sources :

Example 1 with Layout

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;
}
Also used : Layout(com.vaadin.ui.Layout) HorizontalLayout(com.vaadin.ui.HorizontalLayout) VerticalLayout(com.vaadin.ui.VerticalLayout) VerticalLayout(com.vaadin.ui.VerticalLayout)

Aggregations

HorizontalLayout (com.vaadin.ui.HorizontalLayout)1 Layout (com.vaadin.ui.Layout)1 VerticalLayout (com.vaadin.ui.VerticalLayout)1