diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-08-08 11:07:44 +0200 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-11-03 16:57:11 +0100 |
| commit | d834fb419c2f31cfa678fcb70f05303a94d0195a (patch) | |
| tree | a4f3e82a1437f61570bcb6b7015ff602fd7c2474 /pages | |
| parent | c1c6d9ee6d2ac277431651e561819e34b93aeea9 (diff) | |
| download | monzero-gui-d834fb419c2f31cfa678fcb70f05303a94d0195a.tar.gz monzero-gui-d834fb419c2f31cfa678fcb70f05303a94d0195a.tar.xz monzero-gui-d834fb419c2f31cfa678fcb70f05303a94d0195a.zip | |
Receive page mobile layout fix
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/Receive.qml | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/pages/Receive.qml b/pages/Receive.qml index 55038efa..bd3d0bd3 100644 --- a/pages/Receive.qml +++ b/pages/Receive.qml @@ -324,7 +324,7 @@ Rectangle { RowLayout { id: trackingRow - + visible: !isAndroid && !isIOS Label { id: trackingLabel textFormat: Text.RichText @@ -385,33 +385,33 @@ Rectangle { } } } - - Menu { - id: qrMenu - title: "QrCode" - MenuItem { - text: qsTr("Save As") + translationManager.emptyString; - onTriggered: qrFileDialog.open() + ColumnLayout { + Menu { + id: qrMenu + title: "QrCode" + MenuItem { + text: qsTr("Save As") + translationManager.emptyString; + onTriggered: qrFileDialog.open() + } } - } - Image { - id: qrCode - anchors.margins: 50 - anchors.top: trackingRow.bottom - Layout.fillWidth: true - Layout.minimumHeight: mainLayout.qrCodeSize - smooth: false - fillMode: Image.PreserveAspectFit - source: "image://qrcode/" + makeQRCodeString() - MouseArea { - anchors.fill: parent - acceptedButtons: Qt.RightButton - onClicked: { - if (mouse.button == Qt.RightButton) - qrMenu.popup() + Image { + id: qrCode + anchors.margins: 50 * scaleRatio + Layout.fillWidth: true + Layout.minimumHeight: mainLayout.qrCodeSize + smooth: false + fillMode: Image.PreserveAspectFit + source: "image://qrcode/" + makeQRCodeString() + MouseArea { + anchors.fill: parent + acceptedButtons: Qt.RightButton + onClicked: { + if (mouse.button == Qt.RightButton) + qrMenu.popup() + } + onPressAndHold: qrFileDialog.open() } - onPressAndHold: qrFileDialog.open() } } } |
