aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNils Jeisecke <nils.jeisecke@saltation.com>2019-01-11 14:01:48 +0100
committerNils Jeisecke <nils.jeisecke@saltation.com>2019-01-11 14:00:46 +0000
commitab31e883635f4b26a406500787a20ea6d95dc706 (patch)
tree2a8782862864e72a1d399a53c7f884e2f8c0d6e3 /src
parent6476de0b669162cf08c11f5c8d5ad0b42419f365 (diff)
Doc: Give a hint to Popup's margins property in the positioning section
Change-Id: I6878b06d67b6066da1ca187cd879b77b96539ddc Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/quicktemplates2/qquickpopup.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickpopup.cpp b/src/quicktemplates2/qquickpopup.cpp
index dcced8dc..e542e7e8 100644
--- a/src/quicktemplates2/qquickpopup.cpp
+++ b/src/quicktemplates2/qquickpopup.cpp
@@ -212,6 +212,9 @@ QT_BEGIN_NAMESPACE
\snippet qtquickcontrols2-popup.qml centerIn
+ To ensure that the popup is positioned within the bounds of the enclosing
+ window, the \l margins property can be set to a non-negative value.
+
\sa {Popup Controls}, {Customizing Popup}, ApplicationWindow
*/