mirror of
https://github.com/monero-project/monero-gui
synced 2025-01-06 19:26:23 +01:00
Left panel: add view only wallet label
This commit is contained in:
parent
d9d2050f29
commit
1f51d4b52d
@ -90,14 +90,26 @@ Rectangle {
|
|||||||
source: "images/moneroLogo.png"
|
source: "images/moneroLogo.png"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Text {
|
||||||
|
id: viewOnlyLabel
|
||||||
|
visible: viewOnly
|
||||||
|
text: qsTr("View Only") + translationManager.emptyString
|
||||||
|
anchors.top: logo.bottom
|
||||||
|
anchors.topMargin: 5
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.leftMargin: 50
|
||||||
|
font.bold: true
|
||||||
|
color: "blue"
|
||||||
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
id: testnetLabel
|
id: testnetLabel
|
||||||
visible: persistentSettings.testnet
|
visible: persistentSettings.testnet
|
||||||
text: qsTr("Testnet") + translationManager.emptyString
|
text: qsTr("Testnet") + translationManager.emptyString
|
||||||
anchors.top: logo.bottom
|
anchors.top: logo.bottom
|
||||||
anchors.topMargin: 5
|
anchors.topMargin: 5
|
||||||
anchors.left: parent.left
|
anchors.left: viewOnly ? viewOnlyLabel.right : parent.left
|
||||||
anchors.leftMargin: 50
|
anchors.leftMargin: viewOnly ? 10 : 50
|
||||||
font.bold: true
|
font.bold: true
|
||||||
color: "red"
|
color: "red"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user