Index: sources/gui/qml/components/RangeRect.qml =================================================================== diff -u -r1e091935c09e8f4a8b99efaab84c664ffdcf6a26 -r51c8036de03623725353aad8e913b32804e93b5e --- sources/gui/qml/components/RangeRect.qml (.../RangeRect.qml) (revision 1e091935c09e8f4a8b99efaab84c664ffdcf6a26) +++ sources/gui/qml/components/RangeRect.qml (.../RangeRect.qml) (revision 51c8036de03623725353aad8e913b32804e93b5e) @@ -45,7 +45,6 @@ property real leftRightTouchMargin: 0 function ajustOverlap() { - if(minimum === maximum) { // Same value, purposely overlap them completely _textMinimum.rightPadding = 0 @@ -56,13 +55,12 @@ // Due to font size not being fixed and be different depending on text, // setting a minimal expected gap let minimumGap = 10 - let overlap = _textMaximum.x + _textMinimum.width - _textMaximum.x + minimumGap + let overlap = _textMinimum.x + _textMinimum.width - _textMaximum.x + minimumGap if(overlap > 0){ // need to ajust text padding to provide gap between min and max text labels _textMinimum.rightPadding = overlap / 2 _textMaximum.leftPadding = overlap / 2 - } else { // No overlap, set padding to 0 _textMinimum.rightPadding = 0