From 87094d6f30dbba6152ec45a1a3c0c82d89a6ffde Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Tue, 9 Jul 2019 10:41:34 +0900 Subject: change new design --- homescreen/qml/ShortcutIcon.qml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'homescreen/qml/ShortcutIcon.qml') diff --git a/homescreen/qml/ShortcutIcon.qml b/homescreen/qml/ShortcutIcon.qml index e891c99..d5abb1e 100644 --- a/homescreen/qml/ShortcutIcon.qml +++ b/homescreen/qml/ShortcutIcon.qml @@ -67,6 +67,10 @@ MouseArea { } Image { id: sourceIcon + anchors.topMargin: 21 + anchors.bottomMargin: 41 + anchors.leftMargin: 30 + anchors.rightMargin: 30 anchors.fill: parent source: isBlank ? null : root.icon } @@ -79,18 +83,18 @@ MouseArea { } } - Label { - id: name - y: 160 - width: root.width - 10 - font.pixelSize: 15 - font.letterSpacing: 5 - // wrapMode: Text.WordWrap - anchors.horizontalCenter: parent.horizontalCenter - horizontalAlignment: Text.AlignHCenter - color: "white" - text: qsTr((root.name === "launcher" ? "home" : root.name).toUpperCase()) - } +// Label { +// id: name +// y: 160 +// width: root.width - 10 +// font.pixelSize: 15 +// font.letterSpacing: 5 +// // wrapMode: Text.WordWrap +// anchors.horizontalCenter: parent.horizontalCenter +// horizontalAlignment: Text.AlignHCenter +// color: "white" +// text: qsTr((root.name === "launcher" ? "home" : root.name).toUpperCase()) +// } states: [ State { -- cgit 1.2.3-korg