summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecomponent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qdeclarativecomponent.cpp')
-rw-r--r--src/declarative/qml/qdeclarativecomponent.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativecomponent.cpp b/src/declarative/qml/qdeclarativecomponent.cpp
index 36c4b49..7bc6184 100644
--- a/src/declarative/qml/qdeclarativecomponent.cpp
+++ b/src/declarative/qml/qdeclarativecomponent.cpp
@@ -119,6 +119,8 @@ class QByteArray;
\qml
Item {
+ width: 100; height: 100
+
Component {
id: redSquare
@@ -146,7 +148,7 @@ class QByteArray;
to specify how each list item is to be displayed.
Component objects can also be dynamically generated using
- \l{Qt::createComponent}{Qt.createComponent()}.
+ \l{Qt::createComponent()}{Qt.createComponent()}.
*/
/*!