title: JavaFX How to make a GridPane fit to ScrollPane parent?
body: <p>I need page with a grid where entering some data so, using SceneBuilder ,  I put a GridPane inside an AnchorPane. The gridpane I need has huge height so I wrap it inside a ScrollPane and make the ScrollPane fitting to AnchorPane.
  But now  when I expand the window gridpane doesn't resize like it doesn't fit the ScrollPane.
  How Can I make gridpane resizing when I resize the window?</p>