aboutsummaryrefslogtreecommitdiffstats
path: root/launcher/qml/IconItem.qml
diff options
context:
space:
mode:
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'