summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorMorten Engvoldsen <morten.engvoldsen@nokia.com>2010-10-06 08:39:02 (GMT)
committerMorten Engvoldsen <morten.engvoldsen@nokia.com>2010-10-06 08:39:02 (GMT)
commit24c89f6d1c090ab670d4f883d06cd0413c2ecc65 (patch)
tree91ff703829c3b5709adbd37f33ec51c061a273fd /doc/src/snippets
parent371b528ffd53cc28ca621739d6c3fc33a1fb9fa0 (diff)
parentcbd26879cb942a2c4ee7ccd919ee18a45b5b87bb (diff)
downloadQt-24c89f6d1c090ab670d4f883d06cd0413c2ecc65.zip
Qt-24c89f6d1c090ab670d4f883d06cd0413c2ecc65.tar.gz
Qt-24c89f6d1c090ab670d4f883d06cd0413c2ecc65.tar.bz2
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/declarative/column/column.qml14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/src/snippets/declarative/column/column.qml b/doc/src/snippets/declarative/column/column.qml
index 45c6822..18e95e9 100644
--- a/doc/src/snippets/declarative/column/column.qml
+++ b/doc/src/snippets/declarative/column/column.qml
@@ -47,21 +47,21 @@ Item {
Column {
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
-
+
spacing: 5
Rectangle { color: "lightblue"; radius: 10.0
width: 300; height: 50
- Text { anchors.fill: parent
- font.pointSize: 32; text: "Books" } }
+ Text { anchors.centerIn: parent
+ font.pointSize: 24; text: "Books" } }
Rectangle { color: "gold"; radius: 10.0
width: 300; height: 50
- Text { anchors.fill: parent
- font.pointSize: 32; text: "Music" } }
+ Text { anchors.centerIn: parent
+ font.pointSize: 24; text: "Music" } }
Rectangle { color: "lightgreen"; radius: 10.0
width: 300; height: 50
- Text { anchors.fill: parent
- font.pointSize: 32; text: "Movies" } }
+ Text { anchors.centerIn: parent
+ font.pointSize: 24; text: "Movies" } }
}
}
//! [document]