Search in sources :

Example 1 with ColumnSize

use of org.gwtbootstrap3.client.ui.constants.ColumnSize in project ovirt-engine by oVirt.

the class AbstractFormPanel method createRow.

private Row createRow(int numOfColumns) {
    Row row = new Row();
    // Evenly distribute by default.
    String columnSize = COL_PREFIX + (BOOTSTRAP_GRID_SIZE / numOfColumns);
    for (int i = 0; i < numOfColumns; i++) {
        Column column = new Column(columnSize);
        row.add(column);
    }
    return row;
}
Also used : Column(org.gwtbootstrap3.client.ui.Column) Row(org.gwtbootstrap3.client.ui.Row)

Aggregations

Column (org.gwtbootstrap3.client.ui.Column)1 Row (org.gwtbootstrap3.client.ui.Row)1