Index: sources/gui/qml/components/RangeMarker.qml =================================================================== diff -u -r7caa737179a8c31825ae6445f593ac7ff5f95080 -ra6ad83a73eb80978261a408ee5a92fbc8f7faa4e --- sources/gui/qml/components/RangeMarker.qml (.../RangeMarker.qml) (revision 7caa737179a8c31825ae6445f593ac7ff5f95080) +++ sources/gui/qml/components/RangeMarker.qml (.../RangeMarker.qml) (revision a6ad83a73eb80978261a408ee5a92fbc8f7faa4e) @@ -46,9 +46,9 @@ Rectangle { id: _handle visible : false - width : _root.width * 3 - height : _root.width * 3 - radius : _root.width * 3 + width : _root.width * 4 + height : width + radius : width color : _root.color anchors { top : _root.top @@ -69,18 +69,20 @@ Text { id: _textValue font { pixelSize : Fonts.fontPixelRangeMarker - bold : true + weight : Font.DemiBold } anchors { - right : parent.left + right : valueOnTop ? parent.left : undefined top : valueOnTop ? undefined : parent.top bottom : valueOnTop ? _handle.top : undefined - bottomMargin: valueOnTop ? 5 : 0 + bottomMargin: valueOnTop ? 10 : 0 rightMargin : valueOnTop ? -12 : 5 topMargin : valueOnTop ? 0 : -5 + horizontalCenter: valueOnTop ? _handle.horizontalCenter : undefined } + horizontalAlignment: valueOnTop ? Text.AlignHCenter : Text.AlignLeft color : _root.color text : value.toFixed(decimal) + " " + unitText }