javafx SplitPane devider jumps when content/children change

时间:2018-10-02 09:17:17

标签: javafx

I have some trouble preventing the SplitPane devider from jumping once one of the two children changes is size. In my SplitPane are two children, one on the left and one on the right. The one on the left is a TreeView. Everytime I expand one Item in the tree, the devider moves to the right, because the TreeView becomes wider.

Is there a way to prevent this resizing without loosing the option for a user to change the devider?

0 个答案:

没有答案