diff options
Diffstat (limited to 'examples/declarative/particles/itemparticle/content')
-rw-r--r-- | examples/declarative/particles/itemparticle/content/Delegate2.qml | 8 | ||||
-rw-r--r-- | examples/declarative/particles/itemparticle/content/ExpandingDelegate.qml | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/declarative/particles/itemparticle/content/Delegate2.qml b/examples/declarative/particles/itemparticle/content/Delegate2.qml index a05fa348b9..7364ab61b9 100644 --- a/examples/declarative/particles/itemparticle/content/Delegate2.qml +++ b/examples/declarative/particles/itemparticle/content/Delegate2.qml @@ -50,16 +50,16 @@ Package { width: w; height: h; color: col rotation: Math.random()*360 - Behavior on rotation{RotationAnimation{}} + Behavior on rotation {RotationAnimation {}} - states: State{ + states: State { name: "gridded" when: root.inGrid - PropertyChanges{ + PropertyChanges { target: wrapper rotation: 0 } - ParentChange{ + ParentChange { target: wrapper parent: gridDelegate x:0 diff --git a/examples/declarative/particles/itemparticle/content/ExpandingDelegate.qml b/examples/declarative/particles/itemparticle/content/ExpandingDelegate.qml index e6fcb6dcf7..b01ae8b623 100644 --- a/examples/declarative/particles/itemparticle/content/ExpandingDelegate.qml +++ b/examples/declarative/particles/itemparticle/content/ExpandingDelegate.qml @@ -69,7 +69,7 @@ import "../../../modelviews/listview/content" border.color: "orange" radius: 5 } - Image{ + Image { anchors.fill:parent anchors.margins: -32 source: "bubble.png" @@ -187,7 +187,7 @@ import "../../../modelviews/listview/content" //The only strictly necessary particle specific lines to: "Details" reversible: true - ScriptAction{script:{ + ScriptAction {script: { if(state == "Details") mp.freeze(index); else |