summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2019-03-25 11:02:16 +0100
committerMitch Curtis <mitch.curtis@qt.io>2019-05-03 08:05:46 +0000
commit51f6c17ff2b5b6ce23d115e1871fea7d8350a049 (patch)
treef472fc6b93c3ac737e6a01cc4b843093063cd3d5
parent2da5559cc43a3d8bdf49f634ed8add4e929aaa03 (diff)
Doc: bindings to x/y/width/height of contentItem aren't respected
Change-Id: Idecee26bcae178ed294c062819f55e12a65af37d Reviewed-by: Henning Gr√ľndl <henning.gruendl@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r--src/quicktemplates2/qquickcontrol.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/quicktemplates2/qquickcontrol.cpp b/src/quicktemplates2/qquickcontrol.cpp
index a61df3ca..dd954b2b 100644
--- a/src/quicktemplates2/qquickcontrol.cpp
+++ b/src/quicktemplates2/qquickcontrol.cpp
@@ -1626,8 +1626,9 @@ void QQuickControl::setBackground(QQuickItem *background)
}
\endcode
- \note The content item is automatically resized to fit within the
- \l padding of the control.
+ \note The content item is automatically positioned and resized to fit
+ within the \l padding of the control. Bindings to the \l x, \l y, \l width,
+ and \l height properties of the contentItem are not respected.
\note Most controls use the implicit size of the content item to calculate
the implicit size of the control itself. If you replace the content item