aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/fusion/Drawer.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/fusion/Drawer.qml')
-rw-r--r--src/imports/controls/fusion/Drawer.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/fusion/Drawer.qml b/src/imports/controls/fusion/Drawer.qml
index 6feb1692..58b0844a 100644
--- a/src/imports/controls/fusion/Drawer.qml
+++ b/src/imports/controls/fusion/Drawer.qml
@@ -46,8 +46,8 @@ T.Drawer {
parent: T.Overlay.overlay
- implicitWidth: Math.max(background ? background.implicitWidth : 0, contentWidth + leftPadding + rightPadding)
- implicitHeight: Math.max(background ? background.implicitHeight : 0, contentHeight + topPadding + bottomPadding)
+ implicitWidth: Math.max(implicitBackgroundWidth, contentWidth + leftPadding + rightPadding)
+ implicitHeight: Math.max(implicitBackgroundHeight, contentHeight + topPadding + bottomPadding)
topPadding: control.edge === Qt.BottomEdge
leftPadding: control.edge === Qt.RightEdge