From ace9d50e64b97b3a7f1fcffe9d899ff5d14f092d Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 4 Jul 2017 13:58:26 +0200 Subject: Doc: fix the anchors.fill links in the Chat Tutorial There was a QDoc warning: qtquickcontrols2-chattutorial.qdoc:28: warning: Can't link to 'anchors.fill' and the anchors.fill links weren't actually linking to the anchors property but just to the beginning of the QML Item docs. Change-Id: I66f66765443e5b75af8198309f9f7482e70ea2d3 Reviewed-by: Mitch Curtis --- .../chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/quickcontrols2/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc') diff --git a/examples/quickcontrols2/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc b/examples/quickcontrols2/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc index ef3978b3..f048b12c 100644 --- a/examples/quickcontrols2/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc +++ b/examples/quickcontrols2/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc @@ -149,7 +149,7 @@ how to navigate between several pages. \printuntil } We replace the default \c{MainForm {...}} code block with a Page, which is -sized to occupy all the space on the window using the \l{anchors.fill} +sized to occupy all the space on the window using the \l {Item::}{anchors.fill} property. Then, we assign a \l Label to its \l {Page::}{header} property. Label extends @@ -242,7 +242,7 @@ Here is our ListView: \section2 Sizing and Positioning The first thing we do is set a size for the view. It should fill the available -space on the page, so we use \l {Item::anchors}{anchors.fill}. Note that +space on the page, so we use \l {Item::}{anchors.fill}. Note that Page ensures that its header and footer have enough of their own space reserved, so the view in this case will sit below the header, for example. -- cgit v1.2.3