From 51f6c17ff2b5b6ce23d115e1871fea7d8350a049 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 25 Mar 2019 11:02:16 +0100 Subject: Doc: bindings to x/y/width/height of contentItem aren't respected MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Idecee26bcae178ed294c062819f55e12a65af37d Reviewed-by: Henning Gründl Reviewed-by: Mitch Curtis --- src/quicktemplates2/qquickcontrol.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3