Search in sources :

Example 1 with MultiSplitPane

use of com.kotcrab.vis.ui.widget.MultiSplitPane in project vis-ui by kotcrab.

the class TestMultiSplitPane method addVisWidgets.

private void addVisWidgets() {
    VisLabel label = new VisLabel("Label #1");
    VisLabel label2 = new VisLabel("Label #2");
    VisLabel label3 = new VisLabel("Label #3");
    MultiSplitPane splitPane = new MultiSplitPane(vertical);
    splitPane.setWidgets(label, label2, label3);
    add(splitPane).fill().expand();
}
Also used : VisLabel(com.kotcrab.vis.ui.widget.VisLabel) MultiSplitPane(com.kotcrab.vis.ui.widget.MultiSplitPane)

Aggregations

MultiSplitPane (com.kotcrab.vis.ui.widget.MultiSplitPane)1 VisLabel (com.kotcrab.vis.ui.widget.VisLabel)1