aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LeftPanel.qml16
1 files changed, 14 insertions, 2 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml
index 06881a9d..ba8747fe 100644
--- a/LeftPanel.qml
+++ b/LeftPanel.qml
@@ -91,13 +91,25 @@ Rectangle {
}
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 {
id: testnetLabel
visible: persistentSettings.testnet
text: qsTr("Testnet") + translationManager.emptyString
anchors.top: logo.bottom
anchors.topMargin: 5
- anchors.left: parent.left
- anchors.leftMargin: 50
+ anchors.left: viewOnly ? viewOnlyLabel.right : parent.left
+ anchors.leftMargin: viewOnly ? 10 : 50
font.bold: true
color: "red"
}