photopea / vectorpea

Vectorpea - online editor of vector graphics
28 stars 2 forks source link

Feature request: Option to set SVG viewBox #22

Closed zcraber closed 7 months ago

photopea commented 8 months ago

What exactly is wrong with the SVG produced at the moment?

We want Vectorpea to be familiar to users of Adobe Illustrator. How do you do this in Illustrator?

zcraber commented 8 months ago

What exactly is wrong with the SVG produced at the moment?

There is no option to set viewbox.

How do you do this in Illustrator?

Not sure about Illustrator, but in Inkscape there is this option to set the viewbox in File > Document Properties:

image

photopea commented 8 months ago

I see, I think it corresponds to Artboard properties in Adobe Illustrator.

photopea commented 7 months ago

Now, the viewBox is set to the total bounding box of all artboards. Usually, you have only one artboard. Press Window - Artboards, to see a list of artboards, and to edit them (enter the new size, etc).