Following on from the discussion here: https://forums.oracle.com/forums/thread.jspa?threadID=2304184
It would be nice to be able to influence the resize behaviour of a SplitPane.
Currently, all of the space gained/lost by resizing a SplitPane is allocated to the last division. I would like to be able to allocate that space to a different division, or to distribute it among all of the divisions according to weight.
In terms of API, I imagine it could look similar to:
{code}
SplitPane splitPane = new SplitPane();
splitPane.getItems().add(new StackPane());
splitPane.getItems().add(new StackPane());
splitPane.getItems().add(new StackPane());
splitPane.setResizeWeights(0.8, 0.2, 0) ;
{code}
It would be nice to be able to influence the resize behaviour of a SplitPane.
Currently, all of the space gained/lost by resizing a SplitPane is allocated to the last division. I would like to be able to allocate that space to a different division, or to distribute it among all of the divisions according to weight.
In terms of API, I imagine it could look similar to:
{code}
SplitPane splitPane = new SplitPane();
splitPane.getItems().add(new StackPane());
splitPane.getItems().add(new StackPane());
splitPane.getItems().add(new StackPane());
splitPane.setResizeWeights(0.8, 0.2, 0) ;
{code}