From 5a6f2b7ed7d1d37379324898161a6d03457c591e Mon Sep 17 00:00:00 2001 From: Yann Bodson Date: Fri, 1 Oct 2010 15:49:44 +1000 Subject: Doc: add missing image. --- doc/src/images/qml-column.png | Bin 0 -> 6264 bytes doc/src/snippets/declarative/column/column.qml | 14 +++++++------- 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 doc/src/images/qml-column.png diff --git a/doc/src/images/qml-column.png b/doc/src/images/qml-column.png new file mode 100644 index 0000000..c589ad8 Binary files /dev/null and b/doc/src/images/qml-column.png 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] -- cgit v0.12