Example usage for com.vaadin.ui GridLayout setResponsive

List of usage examples for com.vaadin.ui GridLayout setResponsive

Introduction

In this page you can find the example usage for com.vaadin.ui GridLayout setResponsive.

Prototype

public void setResponsive(boolean responsive) 

Source Link

Document

Toggles responsiveness of this component.

Usage

From source file:de.kaiserpfalzEdv.vaadin.about.AboutViewImpl.java

License:Apache License

private GridLayout createGridLayout(final int cols, final int rows) {
    GridLayout result = new GridLayout(cols, rows);

    result.setSizeFull();//w ww. ja va2 s.  co m
    result.setSpacing(true);
    result.setResponsive(true);

    return result;
}