i have one button in a borderpane. I want the button to be stretched out horizontally so it fills the entire width.
how can i do that?
Just set the maxWidth property of the button to MAX_VALUE.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With