aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/imagine/Drawer.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/imagine/Drawer.qml')
-rw-r--r--src/imports/controls/imagine/Drawer.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/imagine/Drawer.qml b/src/imports/controls/imagine/Drawer.qml
index 3c39559f..79408276 100644
--- a/src/imports/controls/imagine/Drawer.qml
+++ b/src/imports/controls/imagine/Drawer.qml
@@ -44,9 +44,9 @@ T.Drawer {
parent: T.ApplicationWindow.overlay
- implicitWidth: Math.max(implicitBackgroundWidth,
+ implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
contentWidth + leftPadding + rightPadding)
- implicitHeight: Math.max(implicitBackgroundHeight,
+ implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
contentHeight + topPadding + bottomPadding)
topPadding: background ? background.topPadding : 0