@@ -109,13 +109,6 @@ Rectangle {
109109 value: priv.focusedAppDelegate !== null && priv.focusedAppDelegate.state === "maximized"
110110 }
111111
112− Rectangle {
113− id: spreadBackground
114− anchors.fill: parent
115− color: "#55000000"
116− visible: false
117− }
118−
119112 FocusScope {
120113 id: appContainer
121114 objectName: "appContainer"
@@ -295,6 +288,13 @@ Rectangle {
295288 visible: false
296289 }
297290
291+ Rectangle {
292+ id: spreadBackground
293+ anchors.fill: parent
294+ color: "#55000000"
295+ visible: false
296+ }
297+
298298 Item {
299299 id: spreadContainer
300300 visible: false
@@ -340,9 +340,9 @@ Rectangle {
340340 objectName: "clippedSpreadDelegate"
341341 anchors.left: parent.left
342342 anchors.top: parent.top
343− windowWidth: parent.width
344− windowHeight: parent.height
345343 application: ApplicationManager.get(index)
344+ width: spreadMaths.spreadHeight
345+ height: spreadMaths.spreadHeight
346346
347347 transform: [
348348 Scale {
@@ -397,8 +397,6 @@ Rectangle {
397397 target: clippedSpreadDelegate
398398 highlightShown: index == spreadRepeater.highlightedIndex
399399 state: "transformed"
400− width: spreadMaths.spreadHeight
401− height: spreadMaths.spreadHeight
402400 shadowOpacity: spreadMaths.shadowOpacity
403401 anchors.topMargin: units.gu(2)
404402 }