aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2024-01-22 12:40:31 +0800
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-01-23 10:19:01 +0000
commitc802707ac2925d60c9a14a208ccce9893ec57b13 (patch)
tree064bdfa98877d31b3ebe2e9a03fb5db5d597efbb
parenta6e63cf5cc988b1417fa1de9f04db8cc7faf221b (diff)
Doc: explain how Dialog's padding works
Task-number: QTBUG-120356 Change-Id: I10fa6ad71152a215d64eae1156827cbdf29b930d Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> (cherry picked from commit cccd21fc3ca9d7e5a81e11965844e6c9d07dc5a3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 70d617909a6f1391d18b46835ecb14509a84090b) (cherry picked from commit 7471e3b1a09e0e2b61b52ca1d09fe6e3336d646a)
-rw-r--r--src/quicktemplates/qquickdialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quicktemplates/qquickdialog.cpp b/src/quicktemplates/qquickdialog.cpp
index 32d86e652c..6ca6ccceab 100644
--- a/src/quicktemplates/qquickdialog.cpp
+++ b/src/quicktemplates/qquickdialog.cpp
@@ -25,6 +25,10 @@ QT_BEGIN_NAMESPACE
\image qtquickcontrols-page-wireframe.png
+ The \l {Popup::}{padding} properties only affect the contentItem. Use the
+ \l {Popup::}{spacing} property to affect the space between header,
+ contentItem and footer.
+
By default, Dialogs have \l {QQuickItem::}{focus}.
\section1 Dialog Title and Buttons