fix layout
This commit is contained in:
parent
bd40019b13
commit
2e7dbd232e
1 changed files with 8 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue