@@ -17,6 +17,7 @@
17import QtQuick 2.0
17import QtQuick 2.0
18import Ubuntu.Components 0.1
18import Ubuntu.Components 0.1
19import Unity 0.1
19import Unity 0.1
20+import "../Components/ListItems"
@@ -24,7 +25,7 @@ Item {
24 rotation: inverted ? 180 : 0
25 rotation: inverted ? 180 : 0
26 property var model
27 property var model
27− property bool inverted: true
28+ property bool inverted: false
28 property bool dragging: false
29 property bool dragging: false
29 property bool moving: launcherFlickable.moving
30 property bool moving: launcherFlickable.moving
30 property int dragPosition: 0
31 property int dragPosition: 0
@@ -61,24 +62,41 @@ Item {
63 id: mainColumn
64 id: mainColumn
64− anchors.fill: parent
66+ fill: parent
65− anchors.margins: units.gu(1)
67+ topMargin: units.gu(0.5)
68+ bottomMargin: units.gu(1)
69+ leftMargin: units.gu(0.5)
70+ rightMargin: units.gu(0.5)
66− spacing: units.gu(1)
72+ spacing: units.gu(0.5)
68− LauncherDelegate {
74+ MouseArea {
69 id: dashItem
75 id: dashItem
70− objectName: "dashItem"
76+ width: parent.width
71− width: launcherFlickable.itemSize
77+ height: units.gu(6.5)
72− height: launcherFlickable.itemSize
73− anchors.horizontalCenter: parent.horizontalCenter
75 onClicked: root.dashItemSelected(0)
78 onClicked: root.dashItemSelected(0)
80+ objectName: "dashItem"
83+ anchors.centerIn: parent
84+ source: "graphics/home.png"
91+ margins: -mainColumn.anchors.leftMargin
77 Flickable {
95 Flickable {
78 id: launcherFlickable
96 id: launcherFlickable
79 anchors.left: parent.left
97 anchors.left: parent.left
80 anchors.right: parent.right
98 anchors.right: parent.right
81− height: parent.height - dashItem.height - parent.spacing
99+ height: parent.height - dashItem.height - parent.spacing*2
82 contentHeight: launcherColumn.height
100 contentHeight: launcherColumn.height
84 property int itemSize: width
102 property int itemSize: width
@@ -86,7 +104,7 @@ Item {
87 id: launcherColumn
105 id: launcherColumn
88 width: parent.width
106 width: parent.width
89− spacing: units.gu(1)
107+ //spacing: units.gu(1)
90 anchors.horizontalCenter: parent.horizontalCenter
108 anchors.horizontalCenter: parent.horizontalCenter
92 Repeater {
110 Repeater {