using the margins of the flickable item is wrong

the clip will be at ScrollView, not at flickable level
This commit is contained in:
Marco Martin 2016-02-24 12:51:08 +01:00
parent 3847dc6d91
commit d524d96a25

View File

@ -79,7 +79,6 @@ QtQuickControlStyle.ScrollViewStyle {
left: parent.left left: parent.left
top: parent.top top: parent.top
right: parent.right right: parent.right
topMargin: flickableItem.anchors.topMargin
} }
} }
PlasmaCore.SvgItem { PlasmaCore.SvgItem {
@ -99,7 +98,6 @@ QtQuickControlStyle.ScrollViewStyle {
left: parent.left left: parent.left
bottom: parent.bottom bottom: parent.bottom
right: parent.right right: parent.right
bottomMargin: flickableItem.anchors.bottomMargin
} }
} }
PlasmaCore.SvgItem { PlasmaCore.SvgItem {
@ -118,7 +116,6 @@ QtQuickControlStyle.ScrollViewStyle {
left: parent.left left: parent.left
top: parent.top top: parent.top
bottom: parent.bottom bottom: parent.bottom
leftMargin: flickableItem.anchors.leftMargin
} }
} }
PlasmaCore.SvgItem { PlasmaCore.SvgItem {
@ -137,7 +134,6 @@ QtQuickControlStyle.ScrollViewStyle {
top: parent.top top: parent.top
bottom: parent.bottom bottom: parent.bottom
right: parent.right right: parent.right
rightMargin: flickableItem.anchors.rightMargin
} }
} }
} }