Quantcast
Channel: how to stretch/resize svgs in uwp's xaml? - Stack Overflow
Browsing all 6 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by GmanGavin for how to stretch/resize svgs in uwp's xaml?

Okay, so here is how I solved this!YouTube Video for this!Open the SVG fileThe SVG file Width and Height - set these to auto!

View Article



Answer by Avestura for how to stretch/resize svgs in uwp's xaml?

For me, it worked with modifying SVG file like this:Add appropriate preserveAspectRatio property to svg tag. For me it was "xMinYMin meet".Set viewbox property of svg tag to this template "0 0...

View Article

Answer by krjw for how to stretch/resize svgs in uwp's xaml?

For me it worked without setting those Properties, but adding preserveAspectRatio="xMinYMin" to the <svg ...> tag and deleting width and height from the <svg ...> tag.

View Article

Answer by Ivan Ičin for how to stretch/resize svgs in uwp's xaml?

For me it works only if you set RasterizePixelHeight and RasterizePixelWidth to the svg original resolution (e.g. document properties in Inkscape).

View Article

Answer by Colin B for how to stretch/resize svgs in uwp's xaml?

I've been having the same issue all morning and was about to completely give up on Svg support, seems mad that you can't get a scalable format to scale properly...But, I had one more go and I think...

View Article


how to stretch/resize svgs in uwp's xaml?

Since the creators update came out, uwp can use svg images as briefly explained here (minute 3).I have this svg (48x48) and i can use it fine, if (and only if) i set the image's width&height to 48...

View Article
Browsing all 6 articles
Browse latest View live


Latest Images