Resized the pane size