Set sliders to max 50
This commit is contained in:
parent
c4519e3faf
commit
b29458fe9f
2 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ Setting {
|
||||||
{
|
{
|
||||||
id: slider
|
id: slider
|
||||||
minimumValue: low
|
minimumValue: low
|
||||||
maximumValue: high < 100 ? high : 100
|
maximumValue: high < 50 ? high : 50
|
||||||
width: parent.width
|
width: parent.width
|
||||||
stepSize: 1
|
stepSize: 1
|
||||||
onValueChanged:
|
onValueChanged:
|
||||||
|
|
|
@ -59,7 +59,7 @@ Setting {
|
||||||
{
|
{
|
||||||
id: low_slider
|
id: low_slider
|
||||||
minimumValue: 1
|
minimumValue: 1
|
||||||
maximumValue: high > 100 ? 100 : high
|
maximumValue: high > 50 ? 50 : high
|
||||||
width: parent.width
|
width: parent.width
|
||||||
stepSize: 1
|
stepSize: 1
|
||||||
onValueChanged:
|
onValueChanged:
|
||||||
|
@ -87,7 +87,7 @@ Setting {
|
||||||
{
|
{
|
||||||
id: high_slider
|
id: high_slider
|
||||||
minimumValue: 0
|
minimumValue: 0
|
||||||
maximumValue: high > 100 ? 100 : high
|
maximumValue: high > 50 ? 50 : high
|
||||||
width: parent.width
|
width: parent.width
|
||||||
stepSize: 1
|
stepSize: 1
|
||||||
onValueChanged:
|
onValueChanged:
|
||||||
|
|
Loading…
Reference in a new issue