summaryrefslogtreecommitdiffstats
path: root/homescreen/qml/ShortcutArea.qml
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-04-25 18:42:40 +0300
committerMarius Vlad <marius.vlad@collabora.com>2020-06-24 16:58:24 +0300
commiteb227c1da7bdd2d81c5a95881d7eef18369ca96a (patch)
treecd3f2adc8b0a9a207bc3d4bed97ae7a6a3747e0f /homescreen/qml/ShortcutArea.qml
parentc903d2fc00c1129ae7c8c3f3393d7cd08c9f2699 (diff)
agl-compositor: Conversion to agl-compositor
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I7da44ec333217d355ba643d2d21bea7d8940ad2b
Diffstat (limited to 'homescreen/qml/ShortcutArea.qml')
-rw-r--r--homescreen/qml/ShortcutArea.qml9
1 files changed, 4 insertions, 5 deletions
diff --git a/homescreen/qml/ShortcutArea.qml b/homescreen/qml/ShortcutArea.qml
index a8ce127..489b1e0 100644
--- a/homescreen/qml/ShortcutArea.qml
+++ b/homescreen/qml/ShortcutArea.qml
@@ -18,12 +18,10 @@
import QtQuick 2.2
import QtQuick.Layouts 1.1
+import QtQuick.Window 2.2
Item {
id: root
- width: 785
- height: 218
-
ListModel {
id: applicationModel
@@ -53,7 +51,7 @@ Item {
RowLayout {
anchors.fill: parent
- spacing: 2
+ spacing: 0
Repeater {
model: applicationModel
delegate: ShortcutIcon {
@@ -62,9 +60,10 @@ Item {
name: model.name
active: model.name === launcher.current
onClicked: {
+ console.log("Activating: " + model.appid)
homescreenHandler.tapShortcut(model.appid)
}
}
- }
+ }
}
}