From 24cd706a39ac50c77dd9b88f50b8197bb2013173 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 10 May 2017 12:13:21 +0200 Subject: Added ProgressBar component --- components/kube/contents/ui/MailView.qml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'components') diff --git a/components/kube/contents/ui/MailView.qml b/components/kube/contents/ui/MailView.qml index c40722d0..51bfa3d3 100644 --- a/components/kube/contents/ui/MailView.qml +++ b/components/kube/contents/ui/MailView.qml @@ -127,7 +127,7 @@ SplitView { } ] } - Controls2.ProgressBar { + Kube.ProgressBar { id: progressBar anchors.horizontalCenter: parent.horizontalCenter height: 3 @@ -136,21 +136,6 @@ SplitView { indeterminate: true visible: false - background: Rectangle { - color: Kube.Colors.backgroundColor - radius: 3 - } - - contentItem: Item { - Rectangle { - width: progressBar.visualPosition * parent.width - height: parent.height - radius: 2 - color: Kube.Colors.highlightColor - } - } - - Kube.Listener { filter: Kube.Messages.progressNotification onMessageReceived: { -- cgit v1.2.3