Search in sources :

Example 1 with CollapsibleWidget

use of com.kotcrab.vis.ui.widget.CollapsibleWidget in project HyperLap2D by rednblackgames.

the class UICollapsibleBox method createCollapsibleWidget.

protected void createCollapsibleWidget(Table table) {
    collapsibleWidget = new CollapsibleWidget(table);
    collapsibleWidget.setCollapseInterpolation(Interpolation.pow5Out);
    mainTable.add(collapsibleWidget).growX().top();
}
Also used : CollapsibleWidget(com.kotcrab.vis.ui.widget.CollapsibleWidget)

Example 2 with CollapsibleWidget

use of com.kotcrab.vis.ui.widget.CollapsibleWidget in project HyperLap2D by rednblackgames.

the class UIItemCollapsibleProperties method createCollapsibleWidget.

private void createCollapsibleWidget() {
    mainTable = new VisTable();
    collapsibleWidget = new CollapsibleWidget(mainTable);
    row();
    add(collapsibleWidget).expand();
}
Also used : VisTable(com.kotcrab.vis.ui.widget.VisTable) CollapsibleWidget(com.kotcrab.vis.ui.widget.CollapsibleWidget)

Aggregations

CollapsibleWidget (com.kotcrab.vis.ui.widget.CollapsibleWidget)2 VisTable (com.kotcrab.vis.ui.widget.VisTable)1