Index: sources/gui/qml/components/ProgressMarker.qml =================================================================== diff -u -rf9a99ad603189f8aafd2b913fd1d453094f00a7e -ra9c98aee00fd5339b969b353926dccf72b0d496f --- sources/gui/qml/components/ProgressMarker.qml (.../ProgressMarker.qml) (revision f9a99ad603189f8aafd2b913fd1d453094f00a7e) +++ sources/gui/qml/components/ProgressMarker.qml (.../ProgressMarker.qml) (revision a9c98aee00fd5339b969b353926dccf72b0d496f) @@ -26,19 +26,23 @@ Item { id : _root property int value : 0 - property alias textColor : _textValue.color - property alias textFontSize : _textValue.font.pixelSize - - property color color : Colors.colorProgressMarker + property alias text : _textValue + property color color : Colors.progressMarker property alias thickness : _root.width + property alias handle : _handle.visible height: Variables.headerHeight - width : 6 + width : Variables.progressMarkerWidth + anchors { + left : parent.right + bottom : parent.bottom + } + Rectangle { id: _handle - width : _root.width - height : _root.width - radius : _root.width + width : _root.width * 3 + height : _root.width * 3 + radius : _root.width * 3 color : _root.color anchors { top : _root.top @@ -47,7 +51,7 @@ } Rectangle { id: _stick - width : _root.width / 3 + width : _root.width height : _root.height color : _root.color anchors { @@ -58,11 +62,11 @@ Text { id: _textValue anchors { - right : _progressMarker.left - top : _progressMarker.top + right : parent.left + top : parent.bottom rightMargin: 5 } - color : Colors.textColorProgressMarker + color : Colors.textProgressMarker text : value } }