Make splash follow platform guide described behavior
commit27dc6a0bb2e48a97c937711a1a1febcda9944c4b
authorRodney Dawes <dobey@ubports.com>
dateMon 2 Nov 2020, 10:31 (6 years ago)
parent0a85228
qml/Stage/Splash.qml+4−1
@@ -32,6 +32,9 @@ Item {
3232 property alias title: header.title
3333 property alias showHeader: header.visible
3434
35+ // Set clip to prevent drawing outside the window rectangle
36+ clip: true
37+
3538 Ambiance.Palette {
3639 id: ambiancePalette
3740 }
@@ -90,8 +93,8 @@ Item {
9093 anchors.centerIn: parent
9194 anchors.verticalCenterOffset: header.visible ? header.height / 2 : 0
9295 asynchronous: true
93− fillMode: Image.PreserveAspectFit
9496 cache: false
97+ clip: true
9598 }
9699
97100 UbuntuShape {