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>
This commit is contained in:
Mats Honkamaa
2023-03-03 11:12:24 +02:00
parent 3e5a450f3a
commit 288dc3f3fa

View File

@@ -149,13 +149,16 @@
\section1 Snapping to Parent and Sibling Components \section1 Snapping to Parent and Sibling Components
You can use snapping to align component instances in You can use snapping to align component instances in
the \uicontrol {2D} view. Select the \inlineimage icons/snapping.png the \uicontrol {2D} view. With snapping turned on, all component instances
button to have the component instances snap to their parent or siblings. 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 Snapping lines automatically appear to help you position the component
instances. Click the \inlineimage icons/snapping_and_anchoring.png instances.
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.
Choose \uicontrol Edit > \uicontrol Preferences > \uicontrol {Qt Quick} > Choose \uicontrol Edit > \uicontrol Preferences > \uicontrol {Qt Quick} >
\uicontrol {Qt Quick Designer} to specify settings for snapping. In the \uicontrol {Qt Quick Designer} to specify settings for snapping. In the