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

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

Introduction

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

Prototype

public Cell<T> expand(boolean x, boolean y) 

Source Link

Document

Sets expandX and expandY to 1 if true, 0 if false.

Usage

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

License:Apache License

private void applyFillingData(final Cell<?> cell) {
    if (alignment != null) {
        alignment.apply(cell);/*  w w w  .j av a2s  .com*/
    }
    cell.expand(expandX, expandY);
    cell.fill(fillX, fillY);
}