From 4239cf0faeac2c309b85529824ff94d65f6b5c50 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 23 Oct 2014 15:06:35 +0200 Subject: [PATCH] small layout fixes --- shell/contents/components/HomeLauncher.qml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/shell/contents/components/HomeLauncher.qml b/shell/contents/components/HomeLauncher.qml index 0ebd5cf5..5aea583b 100644 --- a/shell/contents/components/HomeLauncher.qml +++ b/shell/contents/components/HomeLauncher.qml @@ -11,10 +11,7 @@ MouseArea { PlasmaCore.IconItem { id: icon - anchors { - top: root.top - horizontalCenter: root.horizontalCenter - } + anchors.centerIn: parent width: units.iconSizes.large height: width source: iconName @@ -25,14 +22,14 @@ MouseArea { anchors { top: icon.bottom - left: parent.left - right: parent.right + left: icon.left + right: icon.right } + wrapMode: Text.WordWrap horizontalAlignment: Qt.AlignHCenter verticalAlignment: Qt.AlignVCenter - font.pixelSize: theme.smallestFont.pointSize text: name color: "white" }