I actually did:

width: parent.width
asynchronous: true
cache: false
sourceSize.width: width

for this thing; the height it still like 8000 pixels high, even with width == the jolla1 pixel width. thing is, i get black for those long images, and an EGL Texture error. short ones are done fine.

but, if i do the image on its own, then it works fine. so, it's something to do with the ListView and the way it instantiates it...

Dmitriy Sedov schreef op 2019-05-31 14:05:
when i use Image with big images, i use code like this:|
Image {
    onSourceSizeChanged: {
                if( sourceSize.width > 3264 )
                    sourceSize.width = 3264
                if( sourceSize.height > 3264 )
                    sourceSize.height = 3264
            }
    cache: false
    asynchronous: true
}
or it just show black screen
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to