clip
This commit is contained in:
parent
544b39b04e
commit
e4eeac663d
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user