Index: sources/gui/qml/pages/pretreatment/create/PreTreatmentCreate.qml =================================================================== diff -u -r83b9d737cd495b34a7b42f5409962a9442f3b8f4 -r5b9ff6266f7ca8ae9bbd5eace92d6454359791db --- sources/gui/qml/pages/pretreatment/create/PreTreatmentCreate.qml (.../PreTreatmentCreate.qml) (revision 83b9d737cd495b34a7b42f5409962a9442f3b8f4) +++ sources/gui/qml/pages/pretreatment/create/PreTreatmentCreate.qml (.../PreTreatmentCreate.qml) (revision 5b9ff6266f7ca8ae9bbd5eace92d6454359791db) @@ -286,11 +286,11 @@ x : width * -1.5 y : Variables.createTreatmentSwitchYDisplacement // these values are set to align the switch with slider width : 75 // these values are set to align the switch with slider - height : 85 // these values are set to align the switch with slider + height : 95 // these values are set to align the switch with slider // DEBUG: background : Rectangle { color : "white" } indicator: Rectangle { - implicitWidth : Variables.sliderCircleDiameter * 1.7 + implicitWidth : Variables.sliderCircleDiameter * 2 implicitHeight : Variables.sliderCircleDiameter - ( Variables.progressbarHandlerBorderWidth * 2 ) radius : implicitHeight anchors.centerIn: parent @@ -316,9 +316,9 @@ text : _heparinDispensingRateSwitch.checked ? qsTr("ON") : qsTr("OFF") font : _heparinDispensingRateSwitch.font color : _heparinDispensingRateSwitch.active ? Colors.textMain : Colors.textDisableButton - verticalAlignment: Text.AlignTop - horizontalAlignment: Text.AlignHCenter - anchors.centerIn: parent + verticalAlignment: Text.AlignTop + horizontalAlignment: Text.AlignHCenter + anchors.centerIn: parent } } } @@ -366,11 +366,11 @@ x : width * -1.5 y : Variables.createTreatmentSwitchYDisplacement // these values are set to align the switch with slider width : 75 // these values are set to align the switch with slider - height : 85 // these values are set to align the switch with slider + height : 95 // these values are set to align the switch with slider // DEBUG: background : Rectangle { color : "white" } indicator: Rectangle { - implicitWidth : Variables.sliderCircleDiameter * 1.7 + implicitWidth : Variables.sliderCircleDiameter * 2 implicitHeight : Variables.sliderCircleDiameter - ( Variables.progressbarHandlerBorderWidth * 2 ) radius : implicitHeight anchors.centerIn: parent @@ -821,11 +821,11 @@ x : width * -1.5 y : Variables.createTreatmentSwitchYDisplacement // these values are set to align the switch with slider width : 75 // these values are set to align the switch with slider - height : 85 // these values are set to align the switch with slider + height : 95 // these values are set to align the switch with slider // DEBUG: background : Rectangle { color : "white" } indicator: Rectangle { - implicitWidth : Variables.sliderCircleDiameter * 1.7 + implicitWidth : Variables.sliderCircleDiameter * 2 implicitHeight : Variables.sliderCircleDiameter - ( Variables.progressbarHandlerBorderWidth * 2 ) radius : implicitHeight anchors.centerIn: parent