Index: sources/gui/qml/components/ProgressRect.qml =================================================================== diff -u -ra9c98aee00fd5339b969b353926dccf72b0d496f -r00e025a5d672cae66e592608792c17d98be54d19 --- sources/gui/qml/components/ProgressRect.qml (.../ProgressRect.qml) (revision a9c98aee00fd5339b969b353926dccf72b0d496f) +++ sources/gui/qml/components/ProgressRect.qml (.../ProgressRect.qml) (revision 00e025a5d672cae66e592608792c17d98be54d19) @@ -25,18 +25,19 @@ * \details This rectangle fits into the rect area and will calculate its length * in regards to the min, max, width, current value of the parent */ -Rectangle { id: _highlightMed - property int minimum : 0 - property int maximum : 0 +RangeRect { id: _root property int value : 0 - property real margin : 0 + property real margin : Variables.rangeRectMargin QtObject { id: _private property int length: ((parent.width * (value - minimum)) / (maximum - minimum) - (margin * 2)) } width : _private.length + // progress Rects require to show the current values as their maxText values + maxText.text: value + anchors { left : parent.left top : parent.top