summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/helloworld/tutorial2.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/tutorials/helloworld/tutorial2.qml')
-rw-r--r--examples/declarative/tutorials/helloworld/tutorial2.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/declarative/tutorials/helloworld/tutorial2.qml b/examples/declarative/tutorials/helloworld/tutorial2.qml
index 085efa4..66be509 100644
--- a/examples/declarative/tutorials/helloworld/tutorial2.qml
+++ b/examples/declarative/tutorials/helloworld/tutorial2.qml
@@ -9,8 +9,9 @@ Rectangle {
Text {
id: helloText
text: "Hello world!"
+ y: 30
+ anchors.horizontalCenter: page.horizontalCenter
font.pointSize: 24; font.bold: true
- y: 30; anchors.horizontalCenter: page.horizontalCenter
}
Grid {