summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/declarative/tutorials/helloworld/t3/tutorial3.qml11
1 files changed, 3 insertions, 8 deletions
diff --git a/examples/declarative/tutorials/helloworld/t3/tutorial3.qml b/examples/declarative/tutorials/helloworld/t3/tutorial3.qml
index bd89ecf..127d99e 100644
--- a/examples/declarative/tutorials/helloworld/t3/tutorial3.qml
+++ b/examples/declarative/tutorials/helloworld/t3/tutorial3.qml
@@ -14,15 +14,10 @@ Rect {
State {
name: "down"
when: MouseRegion.pressed == true
- SetProperty {
+ SetProperties {
target: HelloText
- property: "y"
- value: 160
- }
- SetProperty {
- target: HelloText
- property: "color"
- value: "red"
+ y: 160
+ color: "red"
}
}
]