title: JavaFX Borderpane without left and right children
body: <p>I wondering if there's a way to make Borderpane have the node set at the center to take up the full width of the window if there are no children in the left and right slots.  I used Scene Builder to create the FXML file and currently, when I resize the window of the application, there are massive white spaces to the left, right, and bottom of the node in the center. Is there a way to get rid of them?</p>
  
  <p>Here is what it currently looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/M2gY3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M2gY3.png" alt="enter image description here"></a></p>