diff options
Diffstat (limited to 'src/quickcontrols/material/ScrollView.qml')
-rw-r--r-- | src/quickcontrols/material/ScrollView.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quickcontrols/material/ScrollView.qml b/src/quickcontrols/material/ScrollView.qml index 60789313c9..a465f97f63 100644 --- a/src/quickcontrols/material/ScrollView.qml +++ b/src/quickcontrols/material/ScrollView.qml @@ -9,9 +9,9 @@ T.ScrollView { id: control implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, - contentWidth + leftPadding + rightPadding) + implicitContentWidth + leftPadding + rightPadding) implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, - contentHeight + topPadding + bottomPadding) + implicitContentHeight + topPadding + bottomPadding) ScrollBar.vertical: ScrollBar { parent: control |