Expand the canvas panel to fill the spaces of the window