Skip to content

Commit

Permalink
Merge pull request #1289
Browse files Browse the repository at this point in the history
791c267 fix Leftpanel overlay
  • Loading branch information
luigi1111 committed Apr 23, 2018
2 parents db5e71c + 791c267 commit c94ed65
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
23 changes: 18 additions & 5 deletions LeftPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@ Rectangle {

Flickable {
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
clip: true

Expand Down Expand Up @@ -568,23 +570,34 @@ Rectangle {

} // 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 {
id: networkStatus
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: 4
anchors.rightMargin: 4
anchors.leftMargin: 0
anchors.rightMargin: 0
anchors.bottom: (progressBar.visible)? progressBar.top : parent.bottom;
connected: Wallet.ConnectionStatus_Disconnected
height: 58 * scaleRatio
height: 48 * scaleRatio
}

ProgressBar {
id: progressBar
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: daemonProgressBar.top
height: 35 * scaleRatio
height: 48 * scaleRatio
syncType: qsTr("Wallet")
visible: networkStatus.connected
}
Expand Down
2 changes: 1 addition & 1 deletion components/NetworkStatusItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import "../components" as MoneroComponents

Rectangle {
id: item
color: "transparent"
color: "black"
property var connected: Wallet.ConnectionStatus_Disconnected

function getConnectionStatusString(status) {
Expand Down
2 changes: 1 addition & 1 deletion components/ProgressBar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Rectangle {
property string syncType // Wallet or Daemon
property string syncText: qsTr("%1 blocks remaining: ").arg(syncType)
visible: false
color: "transparent"
color: "black"

function updateProgress(currentBlock,targetBlock, blocksToSync, statusTxt){
if(targetBlock > 0) {
Expand Down

0 comments on commit c94ed65

Please sign in to comment.