diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2017-12-10 15:53:01 -0600 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2017-12-10 15:53:01 -0600 |
| commit | 3b23446c31ed4dfe4a303ad0f3946f0fc56291b5 (patch) | |
| tree | 5fa30d3d66cdb60eee8b0365ec8b6ccfcf68da8f | |
| parent | 850fc25b6d3d1e35f7ec37ab6b74e62f81f968d8 (diff) | |
| parent | 1f51d4b52d83a49472737708bf1dd73f604cabac (diff) | |
| download | monzero-gui-3b23446c31ed4dfe4a303ad0f3946f0fc56291b5.tar.gz monzero-gui-3b23446c31ed4dfe4a303ad0f3946f0fc56291b5.tar.xz monzero-gui-3b23446c31ed4dfe4a303ad0f3946f0fc56291b5.zip | |
Merge pull request #976
1f51d4b Left panel: add view only wallet label
| -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" } |
