aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/imagine/Pane.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrols/imagine/Pane.qml')
-rw-r--r--src/quickcontrols/imagine/Pane.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quickcontrols/imagine/Pane.qml b/src/quickcontrols/imagine/Pane.qml
index f74ea96d23..71e3c8f7b4 100644
--- a/src/quickcontrols/imagine/Pane.qml
+++ b/src/quickcontrols/imagine/Pane.qml
@@ -10,9 +10,9 @@ T.Pane {
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)
topPadding: background ? background.topPadding : 0
leftPadding: background ? background.leftPadding : 0