qml: keep elements in place when QR code (and size) changes in ReceiveDialog
This commit is contained in:
@@ -58,12 +58,14 @@ ElDialog {
|
|||||||
Layout.topMargin: constants.paddingSmall
|
Layout.topMargin: constants.paddingSmall
|
||||||
Layout.bottomMargin: constants.paddingSmall
|
Layout.bottomMargin: constants.paddingSmall
|
||||||
|
|
||||||
Layout.preferredWidth: qrloader.width
|
// Layout.preferredWidth: qrloader.width
|
||||||
Layout.preferredHeight: qrloader.height
|
// Layout.preferredHeight: qrloader.height
|
||||||
|
Layout.preferredWidth: dialog.width * 7/8
|
||||||
|
Layout.preferredHeight: dialog.width * 7/8
|
||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
id: qrloader
|
id: qrloader
|
||||||
|
anchors.centerIn: parent
|
||||||
Component {
|
Component {
|
||||||
id: qri_bolt11
|
id: qri_bolt11
|
||||||
QRImage {
|
QRImage {
|
||||||
|
|||||||
Reference in New Issue
Block a user