fix layout

This commit is contained in:
Marco Martin 2012-02-02 16:21:35 +01:00
parent bd40019b13
commit 2e7dbd232e

View file

@ -71,9 +71,12 @@ Item {
id: thumbnailItem id: thumbnailItem
wId: windowId wId: windowId
width: parent.width - closeButtonContainer.width - 20 width: parent.width - closeButtonContainer.width - 20
height: thumbnailListView.height - windowTitle.height - 4 height: thumbnailListView.height - windowTitle.height - 16
clip: false clip: false
anchors.horizontalCenter: parent.horizontalCenter anchors {
horizontalCenter: parent.horizontalCenter
bottom: windowTitle.top
}
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
onClicked: { onClicked: {
@ -85,8 +88,9 @@ Item {
PlasmaComponents.Label { PlasmaComponents.Label {
id: windowTitle id: windowTitle
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.horizontalCenter: parent.horizontalCenter; anchors.horizontalCenter: parent.horizontalCenter
anchors.topMargin: 4
height: paintedHeight
text: caption text: caption
elide: Text.ElideRight elide: Text.ElideRight