Load splash image at original size, and preserve aspect to fit
commit6d21641311b6c6487581521644fabcedbdcc8b8a
authorRodney Dawes <dobey@ubports.com>
dateWed 2 Sep 2020, 11:38 (6 years ago)
parentf4c27c3
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