Merge pull request #2170

a3c620f restore height visibility enhancements (mmbyday)
This commit is contained in:
luigi1111
2019-06-21 14:27:26 -05:00
4 changed files with 92 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2014-2018, The Monero Project
// Copyright (c) 2014-2019, The Monero Project
//
// All rights reserved.
//
@@ -96,6 +96,34 @@ Rectangle {
}
}
ColumnLayout {
Layout.fillWidth: true
MoneroComponents.Label {
Layout.fillWidth: true
fontSize: 22
Layout.topMargin: 10
text: qsTr("Wallet restore height") + translationManager.emptyString
}
Rectangle {
Layout.fillWidth: true
height: 2
color: MoneroComponents.Style.dividerColor
opacity: MoneroComponents.Style.dividerOpacity
Layout.bottomMargin: 10
}
MoneroComponents.LineEdit {
Layout.fillWidth: true
readOnly: true
copyButton: true
labelText: qsTr("Block #") + translationManager.emptyString
fontSize: 16
text: currentWallet.walletCreationHeight
}
}
ColumnLayout {
Layout.fillWidth: true

View File

@@ -165,7 +165,7 @@ Rectangle {
id: restoreHeight
font.pixelSize: 14
textFormat: Text.RichText
text: (typeof currentWallet == "undefined") ? "" : qsTr("Wallet creation height: ") + translationManager.emptyString
text: (typeof currentWallet == "undefined") ? "" : qsTr("Wallet restore height: ") + translationManager.emptyString
}
MoneroComponents.TextBlock {