Qml image sub region (spritesheet) but with centered image
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.
went image provider route, seems the best/only real way. ( i also needed some resizing code for when the source is larger than the element, to downsize it