on xenial help sign in
Make splash follow platform guide described behavior
27dc6a0Rodney Dawes
qml/Stage/Splash.qml+4−1
@@ -32,6 +32,9 @@ Item {
32 property alias title: header.title
32 property alias title: header.title
33 property alias showHeader: header.visible
33 property alias showHeader: header.visible
34
34
35+ // Set clip to prevent drawing outside the window rectangle
36+ clip: true
37+
35 Ambiance.Palette {
38 Ambiance.Palette {
36 id: ambiancePalette
39 id: ambiancePalette
37 }
40 }
@@ -90,8 +93,8 @@ Item {
90 anchors.centerIn: parent
93 anchors.centerIn: parent
91 anchors.verticalCenterOffset: header.visible ? header.height / 2 : 0
94 anchors.verticalCenterOffset: header.visible ? header.height / 2 : 0
92 asynchronous: true
95 asynchronous: true
93− fillMode: Image.PreserveAspectFit
94 cache: false
96 cache: false
97+ clip: true
95 }
98 }
96
99
97 UbuntuShape {
100 UbuntuShape {