aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/Pane.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/material/Pane.qml')
-rw-r--r--src/imports/controls/material/Pane.qml3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/imports/controls/material/Pane.qml b/src/imports/controls/material/Pane.qml
index d71fc8fe..6dfa13fb 100644
--- a/src/imports/controls/material/Pane.qml
+++ b/src/imports/controls/material/Pane.qml
@@ -45,9 +45,6 @@ T.Pane {
implicitWidth: Math.max(background ? background.implicitWidth : 0, contentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(background ? background.implicitHeight : 0, contentHeight + topPadding + bottomPadding)
- contentWidth: contentItem.implicitWidth || (contentChildren.length === 1 ? contentChildren[0].implicitWidth : 0)
- contentHeight: contentItem.implicitHeight || (contentChildren.length === 1 ? contentChildren[0].implicitHeight : 0)
-
padding: 12
background: Rectangle {