NetworkStatus section development

This commit is contained in:
Sander Ferdinand
2017-11-23 15:30:25 +01:00
committed by moneromooo-monero
parent dc445edaae
commit 82553b0df2
5 changed files with 23 additions and 17 deletions

View File

@@ -573,9 +573,11 @@ Rectangle {
id: networkStatus
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: 4
anchors.rightMargin: 4
anchors.bottom: (progressBar.visible)? progressBar.top : parent.bottom;
connected: Wallet.ConnectionStatus_Disconnected
height: 40 * scaleRatio
height: progressBar.visible ? 40 * scaleRatio : 60 * scaleRatio
}
ProgressBar {
@@ -595,6 +597,8 @@ Rectangle {
anchors.bottom: parent.bottom
syncType: qsTr("Daemon")
visible: networkStatus.connected
anchors.leftMargin: 4 * scaleRatio
anchors.rightMargin: 4 * scaleRatio
height: 62 * scaleRatio
}
} // menuRect