summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMats Honkamaa <mats.honkamaa@qt.io>2023-03-03 11:12:24 +0200
committerMats Honkamaa <mats.honkamaa@qt.io>2023-03-03 11:28:18 +0000
commit288dc3f3fa3632a0afc314edf1a18d3cf6a98c77 (patch)
treee52f566005d68a3c1657a58580df6ba0b274d352 /doc
parent3e5a450f3a9fa3317bc39e80740316fbe80256bb (diff)
downloadqt-creator-288dc3f3fa3632a0afc314edf1a18d3cf6a98c77.tar.gz
Doc: Update snapping in 2D view docs
Snapping was done from the toolbar before, now you use the context menu. Task-number: QDS-9265 Change-Id: If7aeac74dd95c74b4a942c8dc69829e274a2c5da Reviewed-by: Esa Törmänen <esa.tormanen@qt.io> Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/qtdesignstudio/src/views/qtquick-form-editor.qdoc15
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/qtdesignstudio/src/views/qtquick-form-editor.qdoc b/doc/qtdesignstudio/src/views/qtquick-form-editor.qdoc
index 64305f3e82..a846b75537 100644
--- a/doc/qtdesignstudio/src/views/qtquick-form-editor.qdoc
+++ b/doc/qtdesignstudio/src/views/qtquick-form-editor.qdoc
@@ -149,13 +149,16 @@
\section1 Snapping to Parent and Sibling Components
You can use snapping to align component instances in
- the \uicontrol {2D} view. Select the \inlineimage icons/snapping.png
- button to have the component instances snap to their parent or siblings.
+ the \uicontrol {2D} view. With snapping turned on, all component instances
+ snap to their parent and siblings. If you use snapping with anchors, anchors are created
+ when you snap a component to another.
+
+ To turn on snapping, right-click in the \uicontrol 2D view and select
+ \uicontrol Snapping > \uicontrol {Snap with Anchors} or
+ \uicontrol {Snap without Anchors}.
+
Snapping lines automatically appear to help you position the component
- instances. Click the \inlineimage icons/snapping_and_anchoring.png
- button to anchor the selected component instance to those that you snap to.
- Only one snapping button can be selected at the time. Selecting
- one snapping button automatically deselects the others.
+ instances.
Choose \uicontrol Edit > \uicontrol Preferences > \uicontrol {Qt Quick} >
\uicontrol {Qt Quick Designer} to specify settings for snapping. In the