summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/tutorial2.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/declarative/tutorial2.qdoc')
-rw-r--r--doc/src/declarative/tutorial2.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/declarative/tutorial2.qdoc b/doc/src/declarative/tutorial2.qdoc
index 4be0702..410d119 100644
--- a/doc/src/declarative/tutorial2.qdoc
+++ b/doc/src/declarative/tutorial2.qdoc
@@ -19,7 +19,7 @@ Item {
width: 40
height: 25
- Rect {
+ Rectangle {
anchors.fill: parent
color: CellContainer.color
}
@@ -33,7 +33,7 @@ Item {
Then, we use our \c Cell component to create the color picker in the QML code for the application:
\code
-Rect {
+Rectangle {
id: Page
width: 480
height: 200
@@ -83,7 +83,7 @@ property var color
We declare a \c color property. This property is accessible from \e outside our component, this allows us to instantiate the cells with different colors.
\code
-Rect {
+Rectangle {
anchors.fill: parent
color: CellContainer.color
}