From 70d617909a6f1391d18b46835ecb14509a84090b Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 22 Jan 2024 12:40:31 +0800 Subject: [PATCH] Doc: explain how Dialog's padding works Task-number: QTBUG-120356 Pick-to: 6.6 6.5 Change-Id: I10fa6ad71152a215d64eae1156827cbdf29b930d Reviewed-by: Richard Moe Gustavsen (cherry picked from commit cccd21fc3ca9d7e5a81e11965844e6c9d07dc5a3) Reviewed-by: Qt Cherry-pick Bot --- src/quicktemplates/qquickdialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/quicktemplates/qquickdialog.cpp b/src/quicktemplates/qquickdialog.cpp index 300ad4301f..30daee5f33 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