1
0

qml: abstract ElDialog resize behavior to property

This commit is contained in:
Sander van Grieken
2023-03-22 13:56:03 +01:00
parent 17bb1ad5c5
commit 4bdd521a4b
3 changed files with 4 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ ElDialog {
title: qsTr('Loading Wallet')
iconSource: Qt.resolvedUrl('../../icons/wallet.png')
parent: Overlay.overlay
resizeWithKeyboard: false
x: Math.floor((parent.width - implicitWidth) / 2)
y: Math.floor((parent.height - implicitHeight) / 2)