aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/ProgressBar.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/ProgressBar.qml b/components/ProgressBar.qml
index 5fc5ec9b..8fcb8e07 100644
--- a/components/ProgressBar.qml
+++ b/components/ProgressBar.qml
@@ -100,7 +100,7 @@ Rectangle {
anchors.bottom: parent.bottom
anchors.left: parent.left
height: bar.height
- property int maxWidth: bar.width - 4 * scaleRatio
+ property int maxWidth: bar.width * scaleRatio
width: (maxWidth * fillLevel) / 100
radius: 8
// could change color based on progressbar status; if(item.fillLevel < 99 )