summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-10-05 20:05:18 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-10-05 20:05:18 (GMT)
commit7e423cbaba0eb0a7d1e7c81b673149ba59901aab (patch)
tree90fc6cb660e99575f31ab234788cd1869e2d8e39 /doc/src/snippets
parent6f44e508d421f69f6f61db567c29aa3eb4828f96 (diff)
parent591807899deb3fc479bd32722756f74b899977d5 (diff)
downloadQt-7e423cbaba0eb0a7d1e7c81b673149ba59901aab.zip
Qt-7e423cbaba0eb0a7d1e7c81b673149ba59901aab.tar.gz
Qt-7e423cbaba0eb0a7d1e7c81b673149ba59901aab.tar.bz2
Merge branch 4.7 into qt-master-from-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]