Index: sources/gui/qml/components/SliderDoubleCreateTreatment.qml =================================================================== diff -u -r0401b9a1fb6f89f0ec83571f2f868956c7500a0f -rb62ab443e75b76a91e35aca6ba2efd84e7199602 --- sources/gui/qml/components/SliderDoubleCreateTreatment.qml (.../SliderDoubleCreateTreatment.qml) (revision 0401b9a1fb6f89f0ec83571f2f868956c7500a0f) +++ sources/gui/qml/components/SliderDoubleCreateTreatment.qml (.../SliderDoubleCreateTreatment.qml) (revision b62ab443e75b76a91e35aca6ba2efd84e7199602) @@ -59,8 +59,8 @@ signal highSliderPressed() signal highSliderReleased() - height: Variables.progressbarRectHeight - width: Variables.progressbarSmallWidth + height: Variables.createTreatmentSliderHeight + width: Variables.createTreatmentSliderWidth anchors.horizontalCenter: parent.horizontalCenter color: "transparent"; @@ -91,28 +91,27 @@ anchors.left: parent.left font.pixelSize: Fonts.fontPixelFluidText color: Colors.textMain; - } Text { id: _lowSelectedValue anchors.top: parent.top anchors.right: parent.horizontalCenter - anchors.rightMargin: Variables.progressbarSmallWidth / 15 + anchors.rightMargin: Variables.createTreatmentSliderWidth / 15 text: "-- " + _lowSlider.unit font.pixelSize: Fonts.fontPixelFluidUnit color: Colors.createTreatmentInactive; - } Slider { id : _lowSlider anchors.left: parent.left; anchors.bottom: parent.bottom - width: Variables.progressbarSmallWidth / 2.3 + width: Variables.createTreatmentSliderWidth / 2.3 diameter: Variables.sliderCircleDiameter color : Colors.createTreatmentInactive knobColor: Colors.createTreatmentInactive touchMargin: Variables.createTreatmentSliderMargin + progressRectMargin: 0 height : 5 minimum: 0 maximum: 100 @@ -128,7 +127,6 @@ _lowSelectedValue.color = Colors.textMain } else { _lowSelectedValue.color = Colors.createTreatmentInactive; - } } @@ -147,7 +145,6 @@ anchors.left: _highSlider.left font.pixelSize: Fonts.fontPixelFluidText color: Colors.textMain; - } Text { @@ -157,17 +154,17 @@ text: "-- " + _highSlider.unit font.pixelSize: Fonts.fontPixelFluidUnit color: Colors.createTreatmentInactive; - } Slider { id : _highSlider anchors.right: parent.right; anchors.bottom: parent.bottom; - width: Variables.progressbarSmallWidth / 2.3 + width: Variables.createTreatmentSliderWidth / 2.3 diameter: Variables.sliderCircleDiameter color : Colors.createTreatmentInactive knobColor: Colors.createTreatmentInactive touchMargin: Variables.createTreatmentSliderMargin + progressRectMargin: 0 height : 5 minimum: 50 maximum: 100 @@ -184,7 +181,6 @@ _highSelectedValue.color = Colors.textMain } else { _highSelectedValue.color = Colors.createTreatmentInactive - } }