mirror of
https://github.com/monero-project/monero-gui
synced 2024-11-21 12:44:14 +01:00
commit
c94ed65700
@ -252,7 +252,9 @@ Rectangle {
|
|||||||
|
|
||||||
Flickable {
|
Flickable {
|
||||||
id:flicker
|
id:flicker
|
||||||
contentHeight: 500 * scaleRatio
|
contentHeight: (progressBar.visible)? menuColumn.height + separator.height +
|
||||||
|
networkStatus.height + progressBar.height + daemonProgressBar.height :
|
||||||
|
menuColumn.height + separator.height + networkStatus.height
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
clip: true
|
clip: true
|
||||||
|
|
||||||
@ -568,15 +570,26 @@ Rectangle {
|
|||||||
|
|
||||||
} // Flickable
|
} // Flickable
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
id: separator
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.leftMargin: 0
|
||||||
|
anchors.rightMargin: 0
|
||||||
|
anchors.bottom: networkStatus.top;
|
||||||
|
height: 10 * scaleRatio
|
||||||
|
color: "black"
|
||||||
|
}
|
||||||
|
|
||||||
NetworkStatusItem {
|
NetworkStatusItem {
|
||||||
id: networkStatus
|
id: networkStatus
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.leftMargin: 4
|
anchors.leftMargin: 0
|
||||||
anchors.rightMargin: 4
|
anchors.rightMargin: 0
|
||||||
anchors.bottom: (progressBar.visible)? progressBar.top : parent.bottom;
|
anchors.bottom: (progressBar.visible)? progressBar.top : parent.bottom;
|
||||||
connected: Wallet.ConnectionStatus_Disconnected
|
connected: Wallet.ConnectionStatus_Disconnected
|
||||||
height: 58 * scaleRatio
|
height: 48 * scaleRatio
|
||||||
}
|
}
|
||||||
|
|
||||||
ProgressBar {
|
ProgressBar {
|
||||||
@ -584,7 +597,7 @@ Rectangle {
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.bottom: daemonProgressBar.top
|
anchors.bottom: daemonProgressBar.top
|
||||||
height: 35 * scaleRatio
|
height: 48 * scaleRatio
|
||||||
syncType: qsTr("Wallet")
|
syncType: qsTr("Wallet")
|
||||||
visible: networkStatus.connected
|
visible: networkStatus.connected
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ import "../components" as MoneroComponents
|
|||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: item
|
id: item
|
||||||
color: "transparent"
|
color: "black"
|
||||||
property var connected: Wallet.ConnectionStatus_Disconnected
|
property var connected: Wallet.ConnectionStatus_Disconnected
|
||||||
|
|
||||||
function getConnectionStatusString(status) {
|
function getConnectionStatusString(status) {
|
||||||
|
@ -37,7 +37,7 @@ Rectangle {
|
|||||||
property string syncType // Wallet or Daemon
|
property string syncType // Wallet or Daemon
|
||||||
property string syncText: qsTr("%1 blocks remaining: ").arg(syncType)
|
property string syncText: qsTr("%1 blocks remaining: ").arg(syncType)
|
||||||
visible: false
|
visible: false
|
||||||
color: "transparent"
|
color: "black"
|
||||||
|
|
||||||
function updateProgress(currentBlock,targetBlock, blocksToSync, statusTxt){
|
function updateProgress(currentBlock,targetBlock, blocksToSync, statusTxt){
|
||||||
if(targetBlock > 0) {
|
if(targetBlock > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user