@@ -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
35+ // Set clip to prevent drawing outside the window rectangle
35 Ambiance.Palette {
38 Ambiance.Palette {
36 id: ambiancePalette
39 id: ambiancePalette
@@ -89,10 +92,14 @@ Item {
89 id: overlaidImage
92 id: overlaidImage
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
99 asynchronous: true
93 fillMode: Image.PreserveAspectFit
100 fillMode: Image.PreserveAspectFit
94 cache: false
101 cache: false
95− crop: true
102+ clip: true
98 UbuntuShape {
105 UbuntuShape {