summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorA-Team <ateam@pad.test.qt.nokia.com>2010-10-05 22:00:13 (GMT)
committerA-Team <ateam@pad.test.qt.nokia.com>2010-10-05 22:00:13 (GMT)
commitcbd26879cb942a2c4ee7ccd919ee18a45b5b87bb (patch)
treebeb5782a54a102fad2ed78c8231f6ef093ceada9 /doc/src/snippets
parente3bcf44684aa30271c986911b328c9d9c372912a (diff)
parent591807899deb3fc479bd32722756f74b899977d5 (diff)
downloadQt-cbd26879cb942a2c4ee7ccd919ee18a45b5b87bb.zip
Qt-cbd26879cb942a2c4ee7ccd919ee18a45b5b87bb.tar.gz
Qt-cbd26879cb942a2c4ee7ccd919ee18a45b5b87bb.tar.bz2
Merge branch '4.7-upstream' into 4.7-doc
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]