From 2e7dbd232ef4a9bcda39cad18778376ca27b173e Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 2 Feb 2012 16:21:35 +0100 Subject: [PATCH] fix layout --- tabbox/qml/window_strip.qml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tabbox/qml/window_strip.qml b/tabbox/qml/window_strip.qml index 1b317dea74..d242f68a7e 100644 --- a/tabbox/qml/window_strip.qml +++ b/tabbox/qml/window_strip.qml @@ -71,9 +71,12 @@ Item { id: thumbnailItem wId: windowId width: parent.width - closeButtonContainer.width - 20 - height: thumbnailListView.height - windowTitle.height - 4 + height: thumbnailListView.height - windowTitle.height - 16 clip: false - anchors.horizontalCenter: parent.horizontalCenter + anchors { + horizontalCenter: parent.horizontalCenter + bottom: windowTitle.top + } MouseArea { anchors.fill: parent onClicked: { @@ -85,8 +88,9 @@ Item { PlasmaComponents.Label { id: windowTitle anchors.bottom: parent.bottom - anchors.horizontalCenter: parent.horizontalCenter; - anchors.topMargin: 4 + anchors.horizontalCenter: parent.horizontalCenter + + height: paintedHeight text: caption elide: Text.ElideRight