diff options
Diffstat (limited to 'src/quickcontrols/material/Pane.qml')
-rw-r--r-- | src/quickcontrols/material/Pane.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quickcontrols/material/Pane.qml b/src/quickcontrols/material/Pane.qml index 80385a073f..cd7e463eae 100644 --- a/src/quickcontrols/material/Pane.qml +++ b/src/quickcontrols/material/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) padding: 12 Material.roundedScale: control.Material.elevation > 0 ? Material.ExtraSmallScale : Material.NotRounded |