aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items
diff options
context:
space:
mode:
authorJesus Fernandez <jesus.fernandez@qt.io>2017-05-22 09:49:18 +0200
committerJesus Fernandez <Jesus.Fernandez@qt.io>2017-05-23 17:45:43 +0000
commita5fbfc9ab1dc06c9f80beda2179b15bd7c499c77 (patch)
tree42884b687230c1da485fe0949fe199e497d29c60 /src/quick/items
parentbfa220843d3d04bb9be1e1cf35d7e4dd0533df5e (diff)
Document the default value of x, y, width & height
The default values of the coordinates and size variables were missing. Change-Id: I1bba77b3db68d3f726c1211c6a0090e97f687b51 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/items')
-rw-r--r--src/quick/items/qquickitem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/items/qquickitem.cpp b/src/quick/items/qquickitem.cpp
index 8e90827a3d..5f5611d711 100644
--- a/src/quick/items/qquickitem.cpp
+++ b/src/quick/items/qquickitem.cpp
@@ -6343,6 +6343,7 @@ void QQuickItem::setFlags(Flags flags)
\qmlproperty real QtQuick::Item::height
Defines the item's position and size.
+ The default value is \c 0.
The (x,y) position is relative to the \l parent.