@@ -17,6 +17,7 @@
19import QtQuick 2.3
19import QtQuick 2.3
20+import QtQuick.Layouts 1.1
20import Ubuntu.Components 1.1
21import Ubuntu.Components 1.1
21import Unity.Application 0.1
22import Unity.Application 0.1
22import "../Components/PanelState"
23import "../Components/PanelState"
@@ -166,6 +167,10 @@ FocusScope {
166 target: decoratedWindow
167 target: decoratedWindow
167 decorationShown: false
168 decorationShown: false
171 transitions: [
176 transitions: [
@@ -179,19 +184,6 @@ FocusScope {
179 property real itemScale: 1
184 property real itemScale: 1
180 property int itemScaleOriginX: 0
185 property int itemScaleOriginX: 0
181 property int itemScaleOriginY: 0
186 property int itemScaleOriginY: 0
184− origin.x: itemScaleOriginX
185− origin.y: itemScaleOriginY
190− origin { x: 0; y: (appDelegate.height - (appDelegate.height * itemScale / 2)) }
191− axis { x: 0; y: 1; z: 0 }
192− angle: appDelegate.angle
196 SpreadMaths {
188 SpreadMaths {
197 id: spreadMaths
189 id: spreadMaths
@@ -222,13 +214,52 @@ FocusScope {
222 onClose: ApplicationManager.stopApplication(model.appId)
214 onClose: ApplicationManager.stopApplication(model.appId)
223 onMaximize: appDelegate.state = (appDelegate.state == "maximized" ? "normal" : "maximized")
215 onMaximize: appDelegate.state = (appDelegate.state == "maximized" ? "normal" : "maximized")
224 onMinimize: appDelegate.state = "minimized"
216 onMinimize: appDelegate.state = "minimized"
220+ origin.x: itemScaleOriginX
221+ origin.y: itemScaleOriginY
226+ origin { x: 0; y: (appDelegate.height - (appDelegate.height * itemScale / 2)) }
227+ axis { x: 0; y: 1; z: 0 }
228+ angle: appDelegate.angle
233+ anchors.fill: parent
228− id: darkenOverlay
240+ RowLayout {
244+ anchors { left: parent.left; top: parent.bottom; topMargin: units.gu(5) }
246+ spacing: units.gu(1)
249+ Layout.preferredHeight: parent.height
250+ Layout.preferredWidth: height
229− anchors.fill: parent
252+ anchors.fill: parent
230− color: "black"
253+ source: model.icon
257+ Layout.fillWidth: true
258+ Layout.preferredHeight: tileInfo.height * 0.8
260+ wrapMode: Text.WordWrap