aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols/gallery/doc
diff options
context:
space:
mode:
authorSanthosh Kumar <santhosh.kumar.selvaraj@qt.io>2023-08-15 14:14:33 +0200
committerSanthosh Kumar <santhosh.kumar.selvaraj@qt.io>2023-08-15 17:48:43 +0200
commitafb57dfa06fb7e8be47ac1118758421cfe31ba3e (patch)
treed9061698586fbf8b6c26b89e7726c9ad721b3cb8 /examples/quickcontrols/gallery/doc
parent218b908b6a9aa542866821b65044bc839472a397 (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. Pick-to: 6.6 6.5 Change-Id: Iaf46c5cc49350e889121b3e57dc3f86e46609459 Reviewed-by: Juho Lääkkö <juho.laakko@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/quickcontrols/gallery/doc')
-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