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 { 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