diff options
| author | rating89us <rating89us@rating89us.com> | 2020-02-02 18:51:39 +0100 |
|---|---|---|
| committer | rating89us <rating89us@rating89us.com> | 2020-02-02 18:51:50 +0100 |
| commit | b6d554eebdc6448a3766644f96521f4bfc8b6ba5 (patch) | |
| tree | 512e824e749f80cf8e6fc703a9c24372840852cd /LeftPanel.qml | |
| parent | b73551d6ab9e6e8141dd2f720aad879851756a6e (diff) | |
| download | monzero-gui-b6d554eebdc6448a3766644f96521f4bfc8b6ba5.tar.gz monzero-gui-b6d554eebdc6448a3766644f96521f4bfc8b6ba5.tar.xz monzero-gui-b6d554eebdc6448a3766644f96521f4bfc8b6ba5.zip | |
LeftPanel: NetworkStatusItem fixed at bottom left corner
Diffstat (limited to 'LeftPanel.qml')
| -rw-r--r-- | LeftPanel.qml | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml index f7f119ec..1ef35c76 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -348,7 +348,7 @@ Rectangle { id:flicker contentHeight: menuColumn.height anchors.top: parent.top - anchors.bottom: networkStatus.top + anchors.bottom: progressBar.visible ? progressBar.top : networkStatus.top width: parent.width boundsBehavior: isMac ? Flickable.DragAndOvershootBounds : Flickable.StopAtBounds clip: true @@ -644,22 +644,11 @@ Rectangle { anchors.right: parent.right anchors.leftMargin: 0 anchors.rightMargin: 0 - anchors.bottom: networkStatus.top; + anchors.bottom: progressBar.visible ? progressBar.top : networkStatus.top height: 10 color: "transparent" } - MoneroComponents.NetworkStatusItem { - id: networkStatus - anchors.left: parent.left - anchors.right: parent.right - anchors.leftMargin: 5 - anchors.rightMargin: 0 - anchors.bottom: (progressBar.visible)? progressBar.top : parent.bottom; - connected: Wallet.ConnectionStatus_Disconnected - height: 48 - } - MoneroComponents.ProgressBar { id: progressBar anchors.left: parent.left @@ -674,10 +663,22 @@ Rectangle { id: daemonProgressBar anchors.left: parent.left anchors.right: parent.right - anchors.bottom: parent.bottom + anchors.bottom: networkStatus.top syncType: qsTr("Daemon") + translationManager.emptyString visible: networkStatus.connected height: 62 } + + MoneroComponents.NetworkStatusItem { + id: networkStatus + anchors.left: parent.left + anchors.right: parent.right + anchors.leftMargin: 5 + anchors.rightMargin: 0 + anchors.bottom: parent.bottom + anchors.bottomMargin: 5 + connected: Wallet.ConnectionStatus_Disconnected + height: 48 + } } } |
