Load splash image at original size, and preserve aspect to fit
commitd53365589e995d99d9d02d452630170c770e9fb9
authorRodney Dawes <dobey@ubports.com>
dateWed 2 Sep 2020, 11:38 (6 years ago)
parent32a567e
qml/Stage/Splash.qml+1−4
@@ -89,11 +89,8 @@ Item {
8989 id: overlaidImage
9090 anchors.centerIn: parent
9191 anchors.verticalCenterOffset: header.visible ? header.height / 2 : 0
92− sourceSize {
93− width: root.width
94− height: root.height
95− }
9692 asynchronous: true
93+ fillMode: Image.PreserveAspectFit
9794 cache: false
9895 }
9996