aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/imagine/ScrollView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/imagine/ScrollView.qml')
-rw-r--r--src/imports/controls/imagine/ScrollView.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/imports/controls/imagine/ScrollView.qml b/src/imports/controls/imagine/ScrollView.qml
index 71e5abc6..346f4b03 100644
--- a/src/imports/controls/imagine/ScrollView.qml
+++ b/src/imports/controls/imagine/ScrollView.qml
@@ -43,8 +43,10 @@ import QtQuick.Controls.Imagine.impl 2.5
T.ScrollView {
id: control
- implicitWidth: Math.max(implicitBackgroundWidth, contentWidth + leftPadding + rightPadding)
- implicitHeight: Math.max(implicitBackgroundHeight, contentHeight + topPadding + bottomPadding)
+ implicitWidth: Math.max(implicitBackgroundWidth,
+ contentWidth + leftPadding + rightPadding)
+ implicitHeight: Math.max(implicitBackgroundHeight,
+ contentHeight + topPadding + bottomPadding)
topPadding: background ? background.topPadding : 0
leftPadding: background ? background.leftPadding : 0