From 1f51d4b52d83a49472737708bf1dd73f604cabac Mon Sep 17 00:00:00 2001 From: Tim L Date: Tue, 28 Nov 2017 12:22:07 -0500 Subject: [PATCH] Left panel: add view only wallet label --- LeftPanel.qml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/LeftPanel.qml b/LeftPanel.qml index 06881a9d..ba8747fe 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -90,14 +90,26 @@ Rectangle { 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 { 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" }