maoschanz/drawing

Set canvas to window size

Open

#335 opened on Feb 16, 2021

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Python (688 stars) (94 forks)batch import
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". Screenshot from 2021-02-16 17-36-25

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.

Contributor guide