mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
Position testnet label
This commit is contained in:
parent
9819e63fcc
commit
9462899e97
1 changed files with 26 additions and 23 deletions
|
@ -119,6 +119,31 @@ Rectangle {
|
|||
fillMode: Image.PreserveAspectFit
|
||||
source: "images/card-background.png"
|
||||
}
|
||||
|
||||
Text {
|
||||
id: testnetLabel
|
||||
visible: persistentSettings.testnet
|
||||
text: qsTr("Testnet") + translationManager.emptyString
|
||||
anchors.top: parent.top
|
||||
anchors.topMargin: 8
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 190
|
||||
font.bold: true
|
||||
color: "white"
|
||||
}
|
||||
|
||||
// @TODO: implement
|
||||
// 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"
|
||||
// }
|
||||
}
|
||||
|
||||
Item {
|
||||
|
@ -170,29 +195,7 @@ Rectangle {
|
|||
return defaultSize;
|
||||
}
|
||||
}
|
||||
Text {
|
||||
id: testnetLabel
|
||||
visible: persistentSettings.testnet
|
||||
text: qsTr("Testnet") + translationManager.emptyString
|
||||
anchors.top: unlockedBalanceText.bottom
|
||||
anchors.topMargin: 5
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 50
|
||||
font.bold: true
|
||||
color: "red"
|
||||
}
|
||||
// @TODO: implement
|
||||
// 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"
|
||||
// }
|
||||
|
||||
Label {
|
||||
id: unlockedBalanceLabel
|
||||
text: qsTr("Unlocked balance") + translationManager.emptyString
|
||||
|
|
Loading…
Reference in a new issue