Index: sources/gui/qml/components/RangeBar.qml =================================================================== diff -u -rc9f8f8cf3c6c37fc6460d8675c62c9442c4d4263 -r798ce1a491cd43a3a24fb96f930d4c316add1ff1 --- sources/gui/qml/components/RangeBar.qml (.../RangeBar.qml) (revision c9f8f8cf3c6c37fc6460d8675c62c9442c4d4263) +++ sources/gui/qml/components/RangeBar.qml (.../RangeBar.qml) (revision 798ce1a491cd43a3a24fb96f930d4c316add1ff1) @@ -55,7 +55,7 @@ minimum : lowerBound maximum : upperBound - minText.visible: true + minText.visible: minimum != maximum // When the min==max, only show the maximum label to avoid overlap maxText.visible: true minText.anchors.leftMargin : lowerTextHorizontalCenter ? -minText.width / 2 : 0 Index: sources/gui/qml/components/Slider.qml =================================================================== diff -u -r642f08650a7a88ad6a2305fdea6bd18365aab5c7 -r798ce1a491cd43a3a24fb96f930d4c316add1ff1 --- sources/gui/qml/components/Slider.qml (.../Slider.qml) (revision 642f08650a7a88ad6a2305fdea6bd18365aab5c7) +++ sources/gui/qml/components/Slider.qml (.../Slider.qml) (revision 798ce1a491cd43a3a24fb96f930d4c316add1ff1) @@ -24,7 +24,7 @@ * \brief Denali project ProgressBar */ RangeRect { id: _root - property real value : _progressRect.value + property real value : minimum property real step : 1 property bool stepSnap : false @@ -235,7 +235,7 @@ ProgressRect { id: _progressRect property real previousSliderValue: Number.NaN - value : minimum + value : _root.value color : Colors.sliderHighlightColor decimal : _root.decimal Index: sources/gui/qml/components/SliderCreateTreatment.qml =================================================================== diff -u -r642f08650a7a88ad6a2305fdea6bd18365aab5c7 -r798ce1a491cd43a3a24fb96f930d4c316add1ff1 --- sources/gui/qml/components/SliderCreateTreatment.qml (.../SliderCreateTreatment.qml) (revision 642f08650a7a88ad6a2305fdea6bd18365aab5c7) +++ sources/gui/qml/components/SliderCreateTreatment.qml (.../SliderCreateTreatment.qml) (revision 798ce1a491cd43a3a24fb96f930d4c316add1ff1) @@ -76,9 +76,6 @@ let unit = " " + _root.unit if ( _root.active ) { - if ( _slider.value === 0 && zeroLabel !== "" ) { - return _root.zeroLabel - } mValue = _slider.value.toFixed(decimal) } return mValue + unit Index: sources/gui/qml/pages/treatment/adjustments/TreatmentAdjustmentDuration.qml =================================================================== diff -u -r642f08650a7a88ad6a2305fdea6bd18365aab5c7 -r798ce1a491cd43a3a24fb96f930d4c316add1ff1 --- sources/gui/qml/pages/treatment/adjustments/TreatmentAdjustmentDuration.qml (.../TreatmentAdjustmentDuration.qml) (revision 642f08650a7a88ad6a2305fdea6bd18365aab5c7) +++ sources/gui/qml/pages/treatment/adjustments/TreatmentAdjustmentDuration.qml (.../TreatmentAdjustmentDuration.qml) (revision 798ce1a491cd43a3a24fb96f930d4c316add1ff1) @@ -69,6 +69,8 @@ maxText.visible : false ticks : true + isActive: _root.visible + anchors.right : _durationSliderArrows.left anchors.rightMargin : _durationSlider.sliderAndArrowSpacing anchors.bottom : _container.bottom