utilities/record: fix list expand anim
This commit is contained in:
parent
7a9fce9dd4
commit
ff901d825b
1 changed files with 14 additions and 0 deletions
|
|
@ -116,6 +116,10 @@ StyledRect {
|
||||||
sourceComponent: running ? recordingControls : recordingList
|
sourceComponent: running ? recordingControls : recordingList
|
||||||
|
|
||||||
Behavior on Layout.preferredHeight {
|
Behavior on Layout.preferredHeight {
|
||||||
|
id: locHeightAnim
|
||||||
|
|
||||||
|
enabled: false
|
||||||
|
|
||||||
Anim {}
|
Anim {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -137,7 +141,17 @@ StyledRect {
|
||||||
easing.bezierCurve: Appearance.anim.curves.standardAccel
|
easing.bezierCurve: Appearance.anim.curves.standardAccel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
PropertyAction {
|
||||||
|
target: locHeightAnim
|
||||||
|
property: "enabled"
|
||||||
|
value: true
|
||||||
|
}
|
||||||
PropertyAction {}
|
PropertyAction {}
|
||||||
|
PropertyAction {
|
||||||
|
target: locHeightAnim
|
||||||
|
property: "enabled"
|
||||||
|
value: false
|
||||||
|
}
|
||||||
ParallelAnimation {
|
ParallelAnimation {
|
||||||
Anim {
|
Anim {
|
||||||
target: listOrControls
|
target: listOrControls
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue