MemberView: no need for onAdd transition hack now
This commit is contained in:
parent
45790dc57c
commit
8e0c046cdb
|
@ -13,21 +13,12 @@ HColumnLayout {
|
||||||
HListView {
|
HListView {
|
||||||
id: memberList
|
id: memberList
|
||||||
clip: true
|
clip: true
|
||||||
add: null // See the XXX comment in HListView.qml
|
|
||||||
|
|
||||||
model: ModelStore.get(modelSyncId)
|
model: ModelStore.get(modelSyncId)
|
||||||
|
|
||||||
delegate: MemberDelegate {
|
delegate: MemberDelegate {
|
||||||
id: member
|
id: member
|
||||||
width: memberList.width
|
width: memberList.width
|
||||||
ListView.onAdd: ParallelAnimation {
|
|
||||||
HNumberAnimation {
|
|
||||||
target: member; property: "opacity"; from: 0; to: 1;
|
|
||||||
}
|
|
||||||
HNumberAnimation {
|
|
||||||
target: member; property: "scale"; from: 0; to: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user