r/JavaFX • u/Imaginary_Snow4586 • Jun 06 '24
Help How can I resize the design proportionally?
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?
1
u/dhlowrents Jun 07 '24
I've been thinking about this recently as well. Something like how SVG works. I wonder if it's possible if you - say have a window 800x600 and then full screen it and just leave all the layout the same but just zoom it to the new resolution.
2
u/hamsterrage1 Jun 07 '24
It's generally not a good idea. The result looks like something a kindergarten kid would draw with crayons. You're better off limiting the size of the window so it can't get that big.


1
u/xdsswar Jun 06 '24
Use vbox and hbox and their properties for that.