List of usage examples for com.badlogic.gdx.scenes.scene2d.ui Cell minSize
public Cell<T> minSize(float size)
From source file:com.mangecailloux.pebble.constant.ConstantEditor.java
License:Apache License
/** * Sets the minimal size for the buttons and ConstantTables. Useful to tweak the size the CE will take on screen. * @param _minimalSize _minimalSize for the UI components. *///ww w . ja v a 2 s. c o m public void setUIMinimalSizes(int _minimalSize) { buttonMinimalSize = _minimalSize; Cell<?> cell = optionsTable.getCell(openButton); if (cell != null) cell.minSize(buttonMinimalSize); cell = optionsTable.getCell(backButton); if (cell != null) cell.minSize(buttonMinimalSize); cell = optionsTable.getCell(rootButton); if (cell != null) cell.minSize(buttonMinimalSize); cell = optionsTable.getCell(saveButton); if (cell != null) cell.minSize(buttonMinimalSize); if (open) refreshFlickTable(); }