aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/qml/ShortcutIcon.qml
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-07-09 10:41:34 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-07-09 10:41:34 +0900
commit87094d6f30dbba6152ec45a1a3c0c82d89a6ffde (patch)
treebf3dbe26a3bdc90ebcf8921cd3fef8b7d91777a1 /homescreen/qml/ShortcutIcon.qml
parent7607dc1bb93a4df66f1416c1a1a662840fc02e5e (diff)
Diffstat (limited to 'homescreen/qml/ShortcutIcon.qml')
-rw-r--r--homescreen/qml/ShortcutIcon.qml28
1 files changed, 16 insertions, 12 deletions
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 {