diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2024-05-13 15:53:46 +0800 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2024-05-20 13:36:59 +0800 |
commit | e4577eb6bb9308d2b84bfe66216333b001ac670b (patch) | |
tree | d0d8dc081e7a0dc3d0c590a95113fe45799853dd /src/quickcontrols/doc/snippets/qtquickcontrols-pane-custom.qml | |
parent | 595b365f1bca6368b6d7355d793e32699f5926f0 (diff) |
Doc: import Basic style in customization snippets
This ensures that the user won't inadvertently base the customizations
on top of the native styles, but also saves adding the extra code that
using QtQuick.Templates would require. The first sentence of the
section already states that the Basic style is in use.
Fixes: QTBUG-125228
Pick-to: 6.5 6.7
Change-Id: I191f1664ab0dcf190e4825b98e7ec12f00de307f
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/quickcontrols/doc/snippets/qtquickcontrols-pane-custom.qml')
-rw-r--r-- | src/quickcontrols/doc/snippets/qtquickcontrols-pane-custom.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickcontrols/doc/snippets/qtquickcontrols-pane-custom.qml b/src/quickcontrols/doc/snippets/qtquickcontrols-pane-custom.qml index 4663ae9138..aca3f73dc6 100644 --- a/src/quickcontrols/doc/snippets/qtquickcontrols-pane-custom.qml +++ b/src/quickcontrols/doc/snippets/qtquickcontrols-pane-custom.qml @@ -3,7 +3,7 @@ //! [file] import QtQuick -import QtQuick.Controls +import QtQuick.Controls.Basic Pane { background: Rectangle { |