Resize Processing canvas in JavaFX window

From your screenshot – what is happening? Are you able to drag the window frame out it reveals the white area, but the gray Processing sketch area stays the same size?