Use Item not Rectangle
commit18ccf03d633ac27fc7fe5c519f051f969748b8b7
authorMichael Terry <michael.terry@canonical.com>
dateTue 30 Sep 2014, 10:51 (12 years ago)
parentd8718fb
qml/Dash/GenericScopeView.qml+2−3
@@ -496,14 +496,13 @@ FocusScope {
496496 }
497497 }
498498
499− Rectangle {
500− id: pullToRefreshClippingRectangle
499+ Item {
500+ id: pullToRefreshClippingItem
501501 anchors.left: parent.left
502502 anchors.right: parent.right
503503 anchors.bottom: parent.bottom
504504 height: parent.height - pullToRefresh.contentY + (pageHeaderLoader.item ? pageHeaderLoader.item.bottomItem[0].height - pageHeaderLoader.item.height : 0)
505505 clip: true
506− color: "#00000000"
507506
508507 PullToRefresh {
509508 id: pullToRefresh