diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2018-04-05 17:30:34 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2018-04-06 15:22:10 +0000 |
commit | ea4dc11ce772d34ee71e4dca0b09f329e2953c68 (patch) | |
tree | 29157a824063f161c44c751de449af06903c7a5a /src/imports/controls/material/Popup.qml | |
parent | f447493bf9a8cf3490da0f5409d76e7f7fc98759 (diff) |
QQuickPopupItem: inherit QQuickPane
Change-Id: Ia32f3004cf540f995344286683d754558369f279
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/material/Popup.qml')
-rw-r--r-- | src/imports/controls/material/Popup.qml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/imports/controls/material/Popup.qml b/src/imports/controls/material/Popup.qml index adc070a4..549ba0f0 100644 --- a/src/imports/controls/material/Popup.qml +++ b/src/imports/controls/material/Popup.qml @@ -49,9 +49,6 @@ T.Popup { implicitHeight: Math.max(background ? background.implicitHeight : 0, contentHeight > 0 ? contentHeight + topPadding + bottomPadding : 0) - contentWidth: contentItem.implicitWidth || (contentChildren.length === 1 ? contentChildren[0].implicitWidth : 0) - contentHeight: contentItem.implicitHeight || (contentChildren.length === 1 ? contentChildren[0].implicitHeight : 0) - padding: 12 enter: Transition { |