diff options
| author | Tim L <timo614@gmail.com> | 2017-11-28 12:22:07 -0500 |
|---|---|---|
| committer | Tim L <timo614@gmail.com> | 2017-12-07 09:08:08 -0500 |
| commit | 1f51d4b52d83a49472737708bf1dd73f604cabac (patch) | |
| tree | 51097da8746b018351675e43c72159011c41304e /LeftPanel.qml | |
| parent | d9d2050f2924322ff6f2895addcb6961a49132f9 (diff) | |
| download | monzero-gui-1f51d4b52d83a49472737708bf1dd73f604cabac.tar.gz monzero-gui-1f51d4b52d83a49472737708bf1dd73f604cabac.tar.xz monzero-gui-1f51d4b52d83a49472737708bf1dd73f604cabac.zip | |
Left panel: add view only wallet label
Diffstat (limited to 'LeftPanel.qml')
| -rw-r--r-- | LeftPanel.qml | 16 |
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" } |
