Commit graph

3 commits

Author SHA1 Message Date
ItsDrike d21e9d1336
Fix SVG scaling in QML
For some reason, the default QML Image element doesn't scale SVGs like
it should. Essentially, it just reads the source size of the SVG and
scales it like it would a regular image (say PNG).

I'm fixing this by manually setting the source size of the image to the
current size. That said, this is in my opinion a hacky fix and it's
really weird that QML doesn't special-case SVGs and scale them as it
should.

Source:
https://stackoverflow.com/questions/69641034/qml-image-does-not-stretch-fit-svg
2024-12-09 20:57:51 +01:00
ItsDrike ad690429a4
Format qml files 2024-12-05 03:24:09 +01:00
ItsDrike cb75fde6d7
Move all qml files to qml/ dir 2024-12-05 01:22:18 +01:00