How would you "lock" the position of a SplitPane Divider in JFX? I've tried google-ing around, and all I can find is ways to make it Transparent, which I believe would still make it movable...

Any Ideas?

Recommended Answers

All 2 Replies

(isn't my cup of java) but you have to set for Scene size (if I'm remember correctly)

Solved. Set the containers min and max width/height (depending on horizontal or vertical) to be the same.

Be cautious because this limits the resizability.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.