From b3dff51494a400076202a4e945e9e17eba3d081b Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 26 Oct 2012 18:12:51 +0200 Subject: [PATCH] fix anchors --- .../plasmaextracomponents/qml/ScrollArea.qml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/declarativeimports/plasmaextracomponents/qml/ScrollArea.qml b/declarativeimports/plasmaextracomponents/qml/ScrollArea.qml index 718bd51a4..41cf90b65 100644 --- a/declarativeimports/plasmaextracomponents/qml/ScrollArea.qml +++ b/declarativeimports/plasmaextracomponents/qml/ScrollArea.qml @@ -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 } } }