feature requestgood first issue
Description
Use case
The canvas resizing feature lets me manually type in the size of the canvas in pixels. It would be useful to have a function/button to set this to the available window space, i.e. the size of the window minus all the toolbars. This would allow me to immediately use the most of my screen space for drawing.
Suggested solution
A button next to the width/height fields to "Fit to window".

Possible drawbacks
This might not be useful to some users, who are often resizing or moving the window, so the button should not be too intrusive. Also, the size would be different depending on the number of open files/tabs.
Possible alternatives
Manually setting the correct size and then setting these as the default value.