Skip to content

CollapsibleWidget

Paweł Pastuszak edited this page Jan 9, 2015 · 8 revisions

CollapsibleWidget is a widget containing table that can be collapsed. Showcase

Example usage:

VisTable table = new VisTable();
collapsibleWidget = new CollapsibleWidget(table);

collapseButton.addListener(new ChangeListener() {
	@Override
	public void changed (ChangeEvent event, Actor actor) {
		collapsibleWidget.setCollapsed(!collapsibleWidget.isCollapsed());
	}
});

Another example (from demo gif)