on xenial help sign in
Load splash image at original size, and preserve aspect to fit
d533655Rodney Dawes
qml/Stage/Splash.qml+1−4
@@ -89,11 +89,8 @@ Item {
89 id: overlaidImage
89 id: overlaidImage
90 anchors.centerIn: parent
90 anchors.centerIn: parent
91 anchors.verticalCenterOffset: header.visible ? header.height / 2 : 0
91 anchors.verticalCenterOffset: header.visible ? header.height / 2 : 0
92− sourceSize {
93− width: root.width
94− height: root.height
95− }
96 asynchronous: true
92 asynchronous: true
93+ fillMode: Image.PreserveAspectFit
97 cache: false
94 cache: false
98 }
95 }
99
96