Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-1 votes
1 answer
149 views

I have a small problem with the viewbox in WPF. When I develop a window in landscape format, it looks fine. But as soon as I display it in portrait format, it's almost unusable!? Does anyone have any ...
0 votes
1 answer
80 views

I'm using a clip path (id: contour1-contourMask) to define the border of Tehran city on a contour SVG created by Plotly.here is the code: https://codepen.io/mojtaba_codepen/pen/abeKJRX While it ...
0 votes
0 answers
72 views

I have a need to scale SVG's using javascript. This is part of a workflow so I'll be processing these endlessly in a browser. The issue is the incoming SVG's viewbox is 0,0,14032.00mm,9922.00mm which ...
0 votes
0 answers
35 views

I am implementing a custom zoom/pan in JS with viewbox. When the x, y, width and height for the new viewbox have been calculated, i want to set them. Before setting them, i want to check them to be ...
Shiuyin's user avatar
  • 131
0 votes
1 answer
389 views

I would like to build a small GUI using the Python NiceGUI Library. For my application I split the interface into two columns using the grid element. This works fine. On the left there are cards with ...
0 votes
0 answers
59 views

<?xml version="1.0" encoding="UTF-8"?> <?AdobeSVGViewer save="snapshot"?> <svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://...
1 vote
2 answers
64 views

It basically have a small html-file which contains this html: <svg viewBox="0 0 400 15"> <circle cx="200" cy="0" r="5" fill="black"/> &...
Lenn's user avatar
  • 1,511
0 votes
1 answer
94 views

An <svg> element is allowed to have a viewBox and a preserveAspectRatio attribute, which together determine the actual viewbox that is displayed on screen. The viewBox attribute specifies a ...
0 votes
1 answer
149 views

i am having very big railway track as path in svg path...but i want to divide the track into 4 and display one by one...please suggest me a code in angular i tried by splitting the values into 4 and ...
0 votes
0 answers
88 views

I have many SVG files who needs editing so the only polygon they have is nicely centred and fills the screen but I cannot make up my mind on how to calculate the viewbox. Given the following viewbox, ...
0 votes
1 answer
153 views

I struggled for a long time to satisfy the customer and found a solution. I use svg sprites and tags inside to insert icons in css. It works great, but changing the resolution obviously breaks the ...
Mark's user avatar
  • 13
1 vote
0 answers
30 views

I'm creating Snake game, in which I can change amount of rows and columns. When I set for example 3 cols and 30 rows, everything works fine, game Grid fits in Viewbox (which is a square), overlays ...
-1 votes
1 answer
144 views

I want to change the attributes on an svg element in an html page. svgElement.setAttribute("width", `${width_}`); //instruction 1 svgElement.setAttribute("height", `${height_}`); //...
-1 votes
2 answers
87 views

I'm trying to adapt an open-source SVG created in Inkscape so it can be embedded on my experimental website in the same I've done so with other SVGs from the same alphabet. Phoenician "mem" ...
0 votes
1 answer
38 views

I had a UniformGrid that I filled with buttons but wanted the content to change size with the window so I added a viewbox. <Viewbox Grid.ColumnSpan="1" Stretch="Fill" Margin=&...

15 30 50 per page
1
2 3 4 5
...
25

AltStyle によって変換されたページ (->オリジナル) /