ilmentore
ilmentore

Reputation: 3

JavaFX: hide fixed pane with slider in SplitPane

I have a GridPane in a SplitPane.

I don't want to resize GridPane when I slide,

but I want to be able to hide it.

If GridPane has fixed size, slider doesn't move. Also, setting Resizable With Parent false didn't help.

How can I achieve this? Thank you.

Upvotes: 0

Views: 496

Answers (1)

Matt
Matt

Reputation: 3187

You could put you your gridpane inside a scrollPane then when it resizes it should only affect the scroll pane

Upvotes: 1

Related Questions