fix anchors

This commit is contained in:
Marco Martin 2012-10-26 18:12:51 +02:00
parent 8d24d8e1b0
commit b3dff51494

View File

@ -134,9 +134,10 @@ Item {
property bool isScrollBar: true
anchors {
left: undefined
top: flickableItem.top
top: parent.top
right: parent.right
bottom: flickableItem.bottom
bottom: parent.bottom
bottomMargin: parent.height - root.flickableItem.height
}
}
}
@ -146,10 +147,11 @@ Item {
flickableItem: root.flickableItem
orientation: Qt.Horizontal
anchors {
left: flickableItem.left
left: parent.left
top: undefined
right: flickableItem.right
right: parent.right
bottom: parent.bottom
rightMargin: parent.width - root.flickableItem.width
}
}
}
@ -160,9 +162,10 @@ Item {
property bool isScrollBar: false
anchors {
left: undefined
top: flickableItem.top
top: parent.top
right: parent.right
bottom: flickableItem.bottom
bottom: parent.bottom
bottomMargin: parent.height - root.flickableItem.height
}
}
}