Index: sources/gui/qml/components/RangeMarker.qml =================================================================== diff -u -r7805806e4370be4d9207872e916f478875bd4ba6 -rdff9d50ebfa80ec99313586e1d48662b72940d24 --- sources/gui/qml/components/RangeMarker.qml (.../RangeMarker.qml) (revision 7805806e4370be4d9207872e916f478875bd4ba6) +++ sources/gui/qml/components/RangeMarker.qml (.../RangeMarker.qml) (revision dff9d50ebfa80ec99313586e1d48662b72940d24) @@ -28,11 +28,13 @@ property int decimal : 0 property alias text : _textValue + property alias handle : _handle property alias font : _textValue.font property color color : Colors.rangeMarker property alias thickness : _root.width property alias hasHandle : _handle.visible property bool valueOnTop : false + property string unitText : "" height: parent.height width : Variables.rangeMarkerWidth @@ -73,10 +75,11 @@ right : parent.left top : valueOnTop ? undefined : parent.top bottom : valueOnTop ? _handle.top : undefined - rightMargin: valueOnTop ? -8 : 5 + bottomMargin: valueOnTop ? 5 : 0 + rightMargin: valueOnTop ? -12 : 5 topMargin : valueOnTop ? 0 : -5 } color : _root.color - text : value.toFixed(decimal) + text : value.toFixed(decimal) + " " + unitText } }