using the margins of the flickable item is wrong
the clip will be at ScrollView, not at flickable level
This commit is contained in:
parent
3847dc6d91
commit
d524d96a25
@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user