mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
Receive page mobile layout fix
This commit is contained in:
parent
c1c6d9ee6d
commit
d834fb419c
1 changed files with 27 additions and 27 deletions
|
@ -324,7 +324,7 @@ Rectangle {
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: trackingRow
|
id: trackingRow
|
||||||
|
visible: !isAndroid && !isIOS
|
||||||
Label {
|
Label {
|
||||||
id: trackingLabel
|
id: trackingLabel
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
|
@ -385,33 +385,33 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ColumnLayout {
|
||||||
Menu {
|
Menu {
|
||||||
id: qrMenu
|
id: qrMenu
|
||||||
title: "QrCode"
|
title: "QrCode"
|
||||||
MenuItem {
|
MenuItem {
|
||||||
text: qsTr("Save As") + translationManager.emptyString;
|
text: qsTr("Save As") + translationManager.emptyString;
|
||||||
onTriggered: qrFileDialog.open()
|
onTriggered: qrFileDialog.open()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
id: qrCode
|
id: qrCode
|
||||||
anchors.margins: 50
|
anchors.margins: 50 * scaleRatio
|
||||||
anchors.top: trackingRow.bottom
|
Layout.fillWidth: true
|
||||||
Layout.fillWidth: true
|
Layout.minimumHeight: mainLayout.qrCodeSize
|
||||||
Layout.minimumHeight: mainLayout.qrCodeSize
|
smooth: false
|
||||||
smooth: false
|
fillMode: Image.PreserveAspectFit
|
||||||
fillMode: Image.PreserveAspectFit
|
source: "image://qrcode/" + makeQRCodeString()
|
||||||
source: "image://qrcode/" + makeQRCodeString()
|
MouseArea {
|
||||||
MouseArea {
|
anchors.fill: parent
|
||||||
anchors.fill: parent
|
acceptedButtons: Qt.RightButton
|
||||||
acceptedButtons: Qt.RightButton
|
onClicked: {
|
||||||
onClicked: {
|
if (mouse.button == Qt.RightButton)
|
||||||
if (mouse.button == Qt.RightButton)
|
qrMenu.popup()
|
||||||
qrMenu.popup()
|
}
|
||||||
|
onPressAndHold: qrFileDialog.open()
|
||||||
}
|
}
|
||||||
onPressAndHold: qrFileDialog.open()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue