fix(StatusWizardStepper): make to value configurable

This commit is contained in:
Jonathan Rainville 2022-04-13 16:11:13 -04:00 committed by Michał Cieślak
parent 8bc4dc906c
commit f52d052051
1 changed files with 3 additions and 2 deletions

View File

@ -33,6 +33,8 @@ import StatusQ.Core.Theme 0.1
*/
Item {
property int maxDuration: 2000
id: wizardWrapper
width: parent.width
height: 56
@ -65,8 +67,7 @@ Item {
anchors.verticalCenter: parent.verticalCenter
anchors.verticalCenterOffset: -12
from: 0
//TODO what is to: here?
to: 2000
to: wizardWrapper.maxDuration
value: loadingTime
backgroundColor: "transparent"
backgroundBorderColor: Theme.palette.primaryColor1