Reputation: 23
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?
Upvotes: 2
Views: 5795
Reputation: 8363
Just set the maxWidth property of the button to MAX_VALUE.
maxWidth
MAX_VALUE
Upvotes: 9