Processing splash formatting improved

This commit is contained in:
Ilya Kitaev
2016-10-09 21:49:56 +03:00
parent 54b22d21a8
commit be135e39cc
3 changed files with 13 additions and 6 deletions

View File

@@ -282,7 +282,7 @@ ApplicationWindow {
var locale = Qt.locale()
var currHeightString = currHeight.toLocaleString(locale,"f",0)
var targetHeightString = currentWallet.daemonBlockChainHeight().toLocaleString(locale,"f",0)
var progressText = qsTr("Synchronizing blocks %1/%2").arg(currHeightString).arg(targetHeightString);
var progressText = qsTr("Synchronizing blocks %1 / %2").arg(currHeightString).arg(targetHeightString);
console.log("Progress text: " + progressText);
splash.heightProgressText = progressText
}
@@ -498,7 +498,7 @@ ApplicationWindow {
ProcessingSplash {
id: splash
width: appWindow.width / 2
width: appWindow.width / 1.5
height: appWindow.height / 2
x: (appWindow.width - width) / 2 + appWindow.x
y: (appWindow.height - height) / 2 + appWindow.y