Auto resize canvas on svg icon resize #794
Replies: 2 comments
-
If you want to ensure everything you have visible is in the saved document, you should go to "Document Properties" and for "Select predefined:", choose "Fit to content". If you are looking for a feature to automatically do this resizing, I can change this issue label to an enhancement. |
Beta Was this translation helpful? Give feedback.
-
Hello, Brett Thank you for your response, much appreciated! To be honest, I would very much appreciate it if you would change the label to "Feature Request" because I really hate messing up with someone else's code, especially when there might be future updates to it. For now, manually changing the canvas size will have to do though.. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Hello!
How can I make the canvas auto resize when I resize the svg image?
Right now, when I load a svg image using
the canvas will auto resize to the width and height of the loaded svg image.
When I resize the svg image the canvas will preserve its initial width and height and when I save the image, then I only get the visible part that exist in the canvas width and height, and I want the whole resized svg image.
Note that I have set:
in svgedit/editor/svgcanvas.js
If I'd have:
and I resize the image and move it outside the canvas, then upon save (if the image is not inside the canvas) I will get an empty image.
Please help
Beta Was this translation helpful? Give feedback.
All reactions