r/JavaFX • u/Nareeeek • Jan 05 '25
Help How to make Gridpane scale with Scrollpane?
I have a gridplane(pretty large, bigger than screen area) and it’s wrapped in scrollpane. Now it works fine, the problem I am having is I can’t configure the gridplane to scale. Whenever I resize the application window, instead of rescaling, it just shows more rows/columns. Is there a way to make the gridplane resize with the scrollpane? The Scrollpane resizes with the window correctly.
2
Upvotes
View all comments
Show parent comment
1
u/Nareeeek Jan 16 '25
Kinda late on my end but this is what I needed, thank you!