Example usage for com.badlogic.gdx.scenes.scene2d.ui Cell minWidth

List of usage examples for com.badlogic.gdx.scenes.scene2d.ui Cell minWidth

Introduction

In this page you can find the example usage for com.badlogic.gdx.scenes.scene2d.ui Cell minWidth.

Prototype

Value minWidth

To view the source code for com.badlogic.gdx.scenes.scene2d.ui Cell minWidth.

Click Source Link

Usage

From source file:com.kotcrab.vis.ui.building.utilities.CellWidget.java

License:Apache License

private void applySizeData(final Cell<?> cell) {
    if (width > IGNORED_SIZE) {
        cell.width(width);/*  w w w .java 2  s  . c o  m*/
    }
    if (height > IGNORED_SIZE) {
        cell.height(height);
    }
    if (minWidth > IGNORED_SIZE) {
        cell.minWidth(minWidth);
    }
    if (minHeight > IGNORED_SIZE) {
        cell.minHeight(minHeight);
    }
}