@@ -158,10 +158,10 @@ FocusScope {
158158 PropertyChanges {
159159 target: appDelegate
160160 x: spreadMaths.animatedX
161− y: spreadMaths.animatedY
161+ y: spreadMaths.animatedY + (appDelegate.height - decoratedWindow.height)
162162 angle: spreadMaths.animatedAngle
163− itemScale: spreadMaths.scale
164− itemScaleOriginY: appDelegate.height;
163+ //itemScale: spreadMaths.scale
164+ //itemScaleOriginY: appDelegate.height;
165165 z: index
166166 }
167167 PropertyChanges {
@@ -169,6 +169,8 @@ FocusScope {
169169 decorationShown: false
170170 highlightShown: index == appRepeater.highlightedIndex
171171 state: "transformed"
172+ width: spreadMaths.spreadHeight
173+ height: spreadMaths.spreadHeight
172174 }
173175 PropertyChanges {
174176 target: tileInfo
@@ -216,10 +218,12 @@ FocusScope {
216218
217219 DecoratedWindow {
218220 id: decoratedWindow
219− anchors.fill: parent
221+ anchors.left: appDelegate.left
222+ anchors.top: appDelegate.top
223+ windowWidth: appDelegate.width
224+ windowHeight: appDelegate.height
220225 application: ApplicationManager.get(index)
221226 active: ApplicationManager.focusedApplicationId === model.appId
222− highlightScale: 1 / appDelegate.itemScale
223227
224228 onFocusChanged: {
225229 if (focus) {
@@ -239,7 +243,7 @@ FocusScope {
239243 yScale: itemScale
240244 },
241245 Rotation {
242− origin { x: 0; y: (appDelegate.height - (appDelegate.height * itemScale / 2)) }
246+ origin { x: 0; y: (decoratedWindow.height - (decoratedWindow.height * itemScale / 2)) }
243247 axis { x: 0; y: 1; z: 0 }
244248 angle: appDelegate.angle
245249 }
@@ -261,7 +265,7 @@ FocusScope {
261265 ColumnLayout {
262266 id: tileInfo
263267 width: units.gu(30)
264− anchors { left: parent.left; top: parent.bottom; topMargin: units.gu(5) }
268+ anchors { left: parent.left; top: decoratedWindow.bottom; topMargin: units.gu(5) }
265269 visible: false
266270 spacing: units.gu(1)
267271