Fix sliders' min/max values
This commit is contained in:
parent
2854217108
commit
65627705ff
1 changed files with 4 additions and 4 deletions
|
@ -68,8 +68,8 @@ Page {
|
||||||
id: highAlertSlider
|
id: highAlertSlider
|
||||||
width: parent.width
|
width: parent.width
|
||||||
label: qsTr("Charging limit")
|
label: qsTr("Charging limit")
|
||||||
minimumValue: 10
|
minimumValue: 11
|
||||||
maximumValue: 99
|
maximumValue: 100
|
||||||
stepSize: 1
|
stepSize: 1
|
||||||
value: settings.highAlert
|
value: settings.highAlert
|
||||||
valueText: value + "%"
|
valueText: value + "%"
|
||||||
|
@ -108,7 +108,7 @@ Page {
|
||||||
handleVisible: enabled
|
handleVisible: enabled
|
||||||
width: parent.width
|
width: parent.width
|
||||||
label: qsTr("Stop charging limit")
|
label: qsTr("Stop charging limit")
|
||||||
minimumValue: 20
|
minimumValue: 21
|
||||||
maximumValue: 95
|
maximumValue: 95
|
||||||
stepSize: 1
|
stepSize: 1
|
||||||
value: settings.highLimit
|
value: settings.highLimit
|
||||||
|
@ -126,7 +126,7 @@ Page {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
label: qsTr("Resume charging limit")
|
label: qsTr("Resume charging limit")
|
||||||
minimumValue: 20
|
minimumValue: 20
|
||||||
maximumValue: 95
|
maximumValue: 94
|
||||||
stepSize: 1
|
stepSize: 1
|
||||||
value: settings.lowLimit
|
value: settings.lowLimit
|
||||||
valueText: value + "%"
|
valueText: value + "%"
|
||||||
|
|
Loading…
Reference in a new issue