List of usage examples for com.badlogic.gdx.scenes.scene2d.ui Cell align
Integer align
To view the source code for com.badlogic.gdx.scenes.scene2d.ui Cell align.
Click Source Link
From source file:com.kotcrab.vis.ui.building.utilities.Alignment.java
License:Apache License
public void apply(final Cell<?> cell) { cell.align(alignment); }
From source file:com.mangecailloux.pebble.constant.ConstantEditor.java
License:Apache License
/** * Align of the openButton when the CE is closed. Uses TableLayout Align constants. Top-Right corner by default. * @param _align can be any combination of TableLayout.TOP, TableLayout.RIGHT, TableLayout.LEFT, TableLayout.BOTTOM, TableLayout.CENTER. *//*from w w w . jav a2 s .c om*/ public void setOpenButtonAlign(int _align) { if (openButtonAlign != _align) { openButtonAlign = _align; if (!open) { Cell<?> cell = optionsTable.getCell(openButton); if (cell != null) cell.align(openButtonAlign); } } }