X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fqml%2FShortcutArea.qml;fp=homescreen%2Fqml%2FShortcutArea.qml;h=489b1e0d85f165ac45338010759c28fd2e741174;hb=9f1edc7b8e5ba92c14fb54ab6bab3596ec080dd4;hp=a8ce1279cceceae761d2c382738964f83580bbb9;hpb=866cae834b24aec99b8cf30d538681b1c5567a77;p=apps%2Fhomescreen.git 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) } } - } + } } }