1
0

qml: keep elements in place when QR code (and size) changes in ReceiveDialog

This commit is contained in:
Sander van Grieken
2022-12-01 10:00:26 +01:00
parent ffcd533a8d
commit 5e34f01f53

View File

@@ -58,12 +58,14 @@ ElDialog {
Layout.topMargin: constants.paddingSmall
Layout.bottomMargin: constants.paddingSmall
Layout.preferredWidth: qrloader.width
Layout.preferredHeight: qrloader.height
// Layout.preferredWidth: qrloader.width
// Layout.preferredHeight: qrloader.height
Layout.preferredWidth: dialog.width * 7/8
Layout.preferredHeight: dialog.width * 7/8
Loader {
id: qrloader
anchors.centerIn: parent
Component {
id: qri_bolt11
QRImage {