summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-10-01 05:49:44 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-10-01 05:49:44 (GMT)
commit5a6f2b7ed7d1d37379324898161a6d03457c591e (patch)
tree69fc1293edfc61532b6e1b7888778a6bff523ebc /doc
parent183243963d523beaf4fdff6b9a7dcb679ebbc71f (diff)
downloadQt-5a6f2b7ed7d1d37379324898161a6d03457c591e.zip
Qt-5a6f2b7ed7d1d37379324898161a6d03457c591e.tar.gz
Qt-5a6f2b7ed7d1d37379324898161a6d03457c591e.tar.bz2
Doc: add missing image.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/images/qml-column.pngbin0 -> 6264 bytes
-rw-r--r--doc/src/snippets/declarative/column/column.qml14
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/src/images/qml-column.png b/doc/src/images/qml-column.png
new file mode 100644
index 0000000..c589ad8
--- /dev/null
+++ b/doc/src/images/qml-column.png
Binary files differ
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]