aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-02-20 01:00:04 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-02-20 01:00:04 +0100
commit03097d5038fe6331df97182a38fac3a9a84fe195 (patch)
tree928675991970423a6b06a8bcf5aeb79b43d2710e /src/imports
parentfee0fcfef08a05ed4ba9369d2352c876b514d69c (diff)
parent407e2769c7b7909fdb2979090e71fa636f109a04 (diff)
Merge remote-tracking branch 'origin/5.12' into 5.13
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/layouts/qquicklayout.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/imports/layouts/qquicklayout.cpp b/src/imports/layouts/qquicklayout.cpp
index d90eae5f80..450cf26cea 100644
--- a/src/imports/layouts/qquicklayout.cpp
+++ b/src/imports/layouts/qquicklayout.cpp
@@ -411,7 +411,11 @@ void QQuickLayoutAttached::setColumn(int column)
This property allows you to specify the alignment of an item within the cell(s) it occupies.
- The default value is \c 0, which means it will be \c{Qt.AlignVCenter | Qt.AlignLeft}
+ The default value is \c 0, which means it will be \c{Qt.AlignVCenter | Qt.AlignLeft}.
+ These defaults also apply if only a horizontal or vertical flag is specified:
+ if only a horizontal flag is specified, the default vertical flag will be
+ \c Qt.AlignVCenter, and if only a vertical flag is specified, the default
+ horizontal flag will be \c Qt.AlignLeft.
A valid alignment is a combination of the following flags:
\list