aboutsummaryrefslogtreecommitdiff
path: root/LeftPanel.qml
diff options
context:
space:
mode:
authorpazos <paziusss@gmail.com>2018-04-13 21:43:15 +0200
committerpazos <paziusss@gmail.com>2018-04-13 21:43:15 +0200
commit791c26734f3acf9361eacc836230943b6d1184aa (patch)
tree6f1e20a09c7d497b357b84cc71ed5a1a342406e7 /LeftPanel.qml
parent76a105261e4ce60555931b4b2dfe1c6a25971825 (diff)
downloadmonzero-gui-791c26734f3acf9361eacc836230943b6d1184aa.tar.gz
monzero-gui-791c26734f3acf9361eacc836230943b6d1184aa.tar.xz
monzero-gui-791c26734f3acf9361eacc836230943b6d1184aa.zip
fix Leftpanel overlay
Diffstat (limited to 'LeftPanel.qml')
-rw-r--r--LeftPanel.qml23
1 files changed, 18 insertions, 5 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml
index 06edf0d5..0f9c0030 100644
--- a/LeftPanel.qml
+++ b/LeftPanel.qml
@@ -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
@@ -568,15 +570,26 @@ 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 {
@@ -584,7 +597,7 @@ Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: daemonProgressBar.top
- height: 35 * scaleRatio
+ height: 48 * scaleRatio
syncType: qsTr("Wallet")
visible: networkStatus.connected
}