mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-04-23 19:33:17 +08:00
update
This commit is contained in:
parent
355517ed44
commit
d0fe68eed3
@ -20,7 +20,7 @@ FluButton {
|
|||||||
width: control.loading ? 16 : 0
|
width: control.loading ? 16 : 0
|
||||||
height: 16
|
height: 16
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
visible: width!==0
|
visible: Number(width)!==0
|
||||||
clip: true
|
clip: true
|
||||||
Behavior on width {
|
Behavior on width {
|
||||||
enabled: FluTheme.enableAnimation
|
enabled: FluTheme.enableAnimation
|
||||||
|
@ -48,11 +48,13 @@ ProgressBar{
|
|||||||
property real sweepAngle: 0
|
property real sweepAngle: 0
|
||||||
SequentialAnimation on startAngle {
|
SequentialAnimation on startAngle {
|
||||||
loops: Animation.Infinite
|
loops: Animation.Infinite
|
||||||
|
running: control.visible && control.indeterminate
|
||||||
PropertyAnimation { from: 0; to: 450; duration: control.duration/2 }
|
PropertyAnimation { from: 0; to: 450; duration: control.duration/2 }
|
||||||
PropertyAnimation { from: 450; to: 1080; duration: control.duration/2 }
|
PropertyAnimation { from: 450; to: 1080; duration: control.duration/2 }
|
||||||
}
|
}
|
||||||
SequentialAnimation on sweepAngle {
|
SequentialAnimation on sweepAngle {
|
||||||
loops: Animation.Infinite
|
loops: Animation.Infinite
|
||||||
|
running: control.visible && control.indeterminate
|
||||||
PropertyAnimation { from: 0; to: 180; duration: control.duration/2 }
|
PropertyAnimation { from: 0; to: 180; duration: control.duration/2 }
|
||||||
PropertyAnimation { from: 180; to: 0; duration: control.duration/2 }
|
PropertyAnimation { from: 180; to: 0; duration: control.duration/2 }
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ FluButton {
|
|||||||
width: control.loading ? 16 : 0
|
width: control.loading ? 16 : 0
|
||||||
height: 16
|
height: 16
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
visible: width!==0
|
visible: Number(width)!==0
|
||||||
clip: true
|
clip: true
|
||||||
Behavior on width {
|
Behavior on width {
|
||||||
enabled: FluTheme.enableAnimation
|
enabled: FluTheme.enableAnimation
|
||||||
|
@ -48,11 +48,13 @@ ProgressBar{
|
|||||||
property real sweepAngle: 0
|
property real sweepAngle: 0
|
||||||
SequentialAnimation on startAngle {
|
SequentialAnimation on startAngle {
|
||||||
loops: Animation.Infinite
|
loops: Animation.Infinite
|
||||||
|
running: control.visible && control.indeterminate
|
||||||
PropertyAnimation { from: 0; to: 450; duration: control.duration/2 }
|
PropertyAnimation { from: 0; to: 450; duration: control.duration/2 }
|
||||||
PropertyAnimation { from: 450; to: 1080; duration: control.duration/2 }
|
PropertyAnimation { from: 450; to: 1080; duration: control.duration/2 }
|
||||||
}
|
}
|
||||||
SequentialAnimation on sweepAngle {
|
SequentialAnimation on sweepAngle {
|
||||||
loops: Animation.Infinite
|
loops: Animation.Infinite
|
||||||
|
running: control.visible && control.indeterminate
|
||||||
PropertyAnimation { from: 0; to: 180; duration: control.duration/2 }
|
PropertyAnimation { from: 0; to: 180; duration: control.duration/2 }
|
||||||
PropertyAnimation { from: 180; to: 0; duration: control.duration/2 }
|
PropertyAnimation { from: 180; to: 0; duration: control.duration/2 }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user