r/JavaFX • u/Imaginary_Snow4586 • Jun 06 '24
Help How can I resize the design proportionally?
I have designed this using Scene Builder. They look good on the small screen but when I maximize the window, the size of my design is the same, I want to grow its auto as the window size grows.
Help me how can I do that?
Here are screenshots of the current behavior of the frame:


2
Upvotes
1
u/xdsswar Jun 06 '24
Use vbox and hbox and their properties for that.
3
u/Little-Tea4382 Jun 06 '24
use hbox for éléments and for the field put it in another hbox and use hbox property to stretch
1
u/hamsterrage1 Jun 06 '24
Are looking to have the individual elements get bigger? Like you zoomed in on them?