aboutsummaryrefslogtreecommitdiffstats
path: root/launcher/qml/IconItem.qml
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-11-20 18:29:03 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-11-20 18:29:03 +0900
commit78d62b2db44043efb397c666622cb04fc0e0f318 (patch)
tree281a1ce2f275e632b8fe58650f5c55ffbff909d6 /launcher/qml/IconItem.qml
parent4309e1fdcd89e7b9d6ae857628382a297a526ea3 (diff)
Diffstat (limited to 'launcher/qml/IconItem.qml')
-rw-r--r--launcher/qml/IconItem.qml8
1 files changed, 2 insertions, 6 deletions
diff --git a/launcher/qml/IconItem.qml b/launcher/qml/IconItem.qml
index 4faa3ea..59c2180 100644
--- a/launcher/qml/IconItem.qml
+++ b/launcher/qml/IconItem.qml
@@ -22,7 +22,7 @@ import "ChangeItemPosition.js" as Cip
Item {
id: main
width: 300
- height: 485
+ height: 300
property string icon: model.icon
property int pid: -1
property bool isBlank: false
@@ -88,11 +88,7 @@ Item {
Image {
id: item
- anchors.top: parent.top
- anchors.topMargin: 230
- anchors.horizontalCenter: parent.horizontalCenter
- width: 300
- height: 300
+ anchors.fill: parent
source: './images/%1_active.png'.arg(model.icon)
property string initial: model.name.substring(0,1).toUpperCase()
property bool hasIcon: model.icon !== 'blank'