fix(StatusWizardStepper): make to value configurable
This commit is contained in:
parent
8bc4dc906c
commit
f52d052051
|
@ -33,6 +33,8 @@ import StatusQ.Core.Theme 0.1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
property int maxDuration: 2000
|
||||||
|
|
||||||
id: wizardWrapper
|
id: wizardWrapper
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: 56
|
height: 56
|
||||||
|
@ -65,8 +67,7 @@ Item {
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.verticalCenterOffset: -12
|
anchors.verticalCenterOffset: -12
|
||||||
from: 0
|
from: 0
|
||||||
//TODO what is to: here?
|
to: wizardWrapper.maxDuration
|
||||||
to: 2000
|
|
||||||
value: loadingTime
|
value: loadingTime
|
||||||
backgroundColor: "transparent"
|
backgroundColor: "transparent"
|
||||||
backgroundBorderColor: Theme.palette.primaryColor1
|
backgroundBorderColor: Theme.palette.primaryColor1
|
||||||
|
|
Loading…
Reference in New Issue