hardcode padding of scrollview style to 0

due to the frame borders behavior in the plasma style,
we need style padding to be zero. this fixes
scrollbars appearing when they shouldn't
This commit is contained in:
Marco Martin 2017-02-07 15:45:37 +01:00
parent eb39b35141
commit b2786508e1

View File

@ -35,6 +35,13 @@ QtQuickControlStyle.ScrollViewStyle {
transientScrollBars: Settings.hasTouchScreen && Settings.isMobile transientScrollBars: Settings.hasTouchScreen && Settings.isMobile
padding {
top: 0
left: 0
right: 0
bottom: 0
}
function syncVelocity() { function syncVelocity() {
if (!control.flickableItem) { if (!control.flickableItem) {
return; return;