I want to create a flexible 3-box layout in JavaFX/FXML. A picture describes it the best, so just like in the following:
As you can see, the main part should consist of three resizable boxes. All of this boxes should have a preferred size.
So the code looks like the following (simplified code).
<BorderPane>
<top>
<VBox>
<!-- menubar stuff -->
</VBox>
</top>
<center>
<!-- ACTUAL CONTENT HERE -->
</center>
<bottom>
<!-- toolbar stuff -->
</bottom>
</BorderPane>
What could be the best approach here? Two nested SplitPane
s?