In Swing, we could use setResizeWeight()
on JSplitPane to determine what portion of the SplitPane received the available space. Is there an equivalent method in JavaFX 2.2? I can only find the setDividerPosition()
method which doesn't really do what I want (granted I could call it manually each time the size changes, but I'd like to avoid that if possible.)
I could also call setResizableWithParent(false)
, but again that doesn't really provide the sort of control I'm after.