aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/imagine/DialogButtonBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/imagine/DialogButtonBox.qml')
-rw-r--r--src/imports/controls/imagine/DialogButtonBox.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/imagine/DialogButtonBox.qml b/src/imports/controls/imagine/DialogButtonBox.qml
index e58d5645..e38ad50b 100644
--- a/src/imports/controls/imagine/DialogButtonBox.qml
+++ b/src/imports/controls/imagine/DialogButtonBox.qml
@@ -43,9 +43,9 @@ import QtQuick.Controls.Imagine.impl 2.5
T.DialogButtonBox {
id: control
- implicitWidth: Math.max(background ? background.implicitWidth : 0,
+ implicitWidth: Math.max(implicitBackgroundWidth,
(control.count === 1 ? contentWidth * 2 : contentWidth) + leftPadding + rightPadding)
- implicitHeight: Math.max(background ? background.implicitHeight : 0,
+ implicitHeight: Math.max(implicitBackgroundHeight,
contentHeight + topPadding + bottomPadding)
topPadding: background ? background.topPadding : 0