Qml image sub region (spritesheet) but with centered image
QML and Qt Quick
2
Posts
1
Posters
882
Views
1
Watching
-
Is there no qml element that can both let me disable stretching, and let me sample from a subregion of an image?
Using animatedsprite, but without animation loads it fine how I want it.
But there is no ability to disable stretching (i want it to be centered).
And QImage does not have a sub region sampling ability..
i looked into providing my own image provider..but that seems complex for my needs..i'd prefer not to.