increase svg viewport, as qt seems to have a poor scalling

This commit is contained in:
Guillaume Castagnino 2020-03-14 12:17:56 +01:00
parent 600b17bda2
commit eeb239c778
2 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3 2">
<rect width="3" height="2" fill="#ED2939"/>
<rect width="2" height="2" fill="#fff"/>
<rect width="1" height="2" fill="#002395"/>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 20">
<rect width="30" height="20" fill="#ED2939"/>
<rect width="20" height="20" fill="#fff"/>
<rect width="10" height="20" fill="#002395"/>
</svg>

Before

Width:  |  Height:  |  Size: 195 B

After

Width:  |  Height:  |  Size: 203 B

View File

@ -1,5 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
<rect fill="#fff" width="9" height="3"/>
<rect fill="#d52b1e" y="3" width="9" height="3"/>
<rect fill="#0039a6" y="2" width="9" height="2"/>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60">
<rect fill="#fff" width="90" height="30"/>
<rect fill="#d52b1e" y="30" width="90" height="30"/>
<rect fill="#0039a6" y="20" width="90" height="20"/>
</svg>

Before

Width:  |  Height:  |  Size: 207 B

After

Width:  |  Height:  |  Size: 217 B