add styling with animation speed
This commit is contained in:
parent
f7e8fb7720
commit
9fc91a92f7
14 changed files with 74 additions and 37 deletions
|
|
@ -40,15 +40,15 @@ ProgressBar {
|
|||
|
||||
Row {
|
||||
Rectangle {
|
||||
id: rect
|
||||
color: Theme.palette.primary
|
||||
width: 40
|
||||
height: control.height
|
||||
}
|
||||
id: rect
|
||||
color: Theme.palette.primary
|
||||
width: 40
|
||||
height: control.height
|
||||
}
|
||||
XAnimator on x {
|
||||
from: control.width + rect.width
|
||||
to: -rect.width
|
||||
duration: 1000
|
||||
duration: Styling.animations.speed.verySlow
|
||||
loops: Animation.Infinite
|
||||
running: control.indeterminate
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue