aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanthosh Kumar <santhosh.kumar.selvaraj@qt.io>2023-08-15 14:14:33 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-08-15 18:06:35 +0000
commiteb16883196d21a1b4731d8c0c8f1d4b35a00a84b (patch)
tree3311a7fd19bc72230ec25b75053a90bd36c25a17
parentf3c3be57a1a355b1dbe3fe0742fdeeea16244b37 (diff)
Docs: Update documentation about orientation mode in the gallery example
The gallery example depends on two factor to determine its orientation. Apart from size of the window, the orientation configuration in the setting (introduced in the patchset 7c7e3a1fdfa0a9cd766182836328ae5f179569ae) would also be considered. This patchset updates documentation for the change mentioned above. Change-Id: Iaf46c5cc49350e889121b3e57dc3f86e46609459 Reviewed-by: Juho Lääkkö <juho.laakko@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> (cherry picked from commit afb57dfa06fb7e8be47ac1118758421cfe31ba3e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/quickcontrols/gallery/doc/src/qtquickcontrols-gallery.qdoc17
1 files changed, 9 insertions, 8 deletions
diff --git a/examples/quickcontrols/gallery/doc/src/qtquickcontrols-gallery.qdoc b/examples/quickcontrols/gallery/doc/src/qtquickcontrols-gallery.qdoc
index 3fa317b7e6..612c727bbb 100644
--- a/examples/quickcontrols/gallery/doc/src/qtquickcontrols-gallery.qdoc
+++ b/examples/quickcontrols/gallery/doc/src/qtquickcontrols-gallery.qdoc
@@ -36,14 +36,15 @@
graphical appearance of a control, allows you to interact with the control,
and explains in which circumstances it is handy to use this control.
- When the application is in portrait mode, the drawer is an interactive
- side panel that can be swiped open from the left edge. It appears on
- top of the content, blocking user interaction through its modal
- background. When the application is in landscape mode, the drawer and
- the content are laid out side-by-side.
-
- The current orientation of the application is determined by comparing
- the width and height of the window:
+ When the application is in portrait mode, the drawer is an interactive side
+ panel that can be swiped open from the left edge. It appears on top of the
+ content, blocking user interaction through its modal background. When the
+ application is in landscape mode, the drawer and the content are laid out
+ side-by-side.
+
+ The current orientation of the application is determined by comparing the
+ width and height of the window and orientation mode configuration in the
+ settings:
\snippet gallery/gallery.qml orientation