diff --git a/src/qml/Popups/BoxPopup.qml b/src/qml/Popups/BoxPopup.qml index 42282917..5473d7df 100644 --- a/src/qml/Popups/BoxPopup.qml +++ b/src/qml/Popups/BoxPopup.qml @@ -27,7 +27,8 @@ HPopup { id: box clickButtonOnEnter: "ok" implicitWidth: Math.min( - window.width - popup.margins, theme.controls.popup.defaultWidth, + window.width - popup.leftMargin - popup.rightMargin, + theme.controls.popup.defaultWidth, ) buttonModel: [