This commit is contained in:
Marco Martin 2011-11-25 21:39:32 +01:00
parent 544b39b04e
commit e4eeac663d

View File

@ -134,13 +134,13 @@ Item {
Item { Item {
id: contentItem id: contentItem
clip: true
onChildrenRectChanged: mainItem.width = Math.max(childrenRect.width, buttonItem.childrenRect.width) onChildrenRectChanged: mainItem.width = Math.max(childrenRect.width, buttonItem.childrenRect.width)
anchors { anchors {
top: titleBar.bottom top: titleBar.bottom
left: parent.left left: parent.left
right: parent.right right: parent.right
bottom: buttonItem.top bottom: buttonItem.top
bottomMargin: 8
} }
} }
@ -148,7 +148,6 @@ Item {
id: buttonItem id: buttonItem
height: childrenRect.height height: childrenRect.height
clip: true
anchors { anchors {
left: parent.left left: parent.left
right: parent.right right: parent.right