fix(StatusWizardStepper): make to value configurable

This commit is contained in:
Jonathan Rainville 2022-04-13 16:11:13 -04:00 committed by r4bbit.eth
parent 1a5990f24b
commit 4b1516c990
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