summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@digia.com>2013-06-25 09:38:23 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-25 11:01:45 +0200
commit7641916c69a9a46218befa353d97b23099066add (patch)
treea8fc4f367eca6f5d0208497ebf89e687f5c8b9d5 /src
parentabe16c8524c985d7cb7b147a675624113cfc339a (diff)
downloadqtquickcontrols-7641916c69a9a46218befa353d97b23099066add.tar.gz
Doc: Add note to import QtQuick.Layouts when using SplitView
In order to use the Layout attached properties. Task-number: QTBUG-31968 Change-Id: I00880b6a4ac91532db5da513d13757949fae64c2 Reviewed-by: Alberto Mardegan <mardy@users.sourceforge.net> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/controls/SplitView.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/controls/SplitView.qml b/src/controls/SplitView.qml
index ff44a03a..ce60286e 100644
--- a/src/controls/SplitView.qml
+++ b/src/controls/SplitView.qml
@@ -84,6 +84,9 @@ import QtQuick.Controls.Private 1.0 as Private
\li \l{Layout::fillHeight}{Layout.fillHeight} (\c true for only one child)
\endlist
+ \note Please import QtQuick.Layout 1.0 in your QML file in order to use the Layout
+ attached properties inside SplitView.
+
Example:
To create a SplitView with three items, and let the center item get superfluous space, one