From 288dc3f3fa3632a0afc314edf1a18d3cf6a98c77 Mon Sep 17 00:00:00 2001 From: Mats Honkamaa Date: Fri, 3 Mar 2023 11:12:24 +0200 Subject: [PATCH] Doc: Update snapping in 2D view docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Mats Honkamaa --- .../src/views/qtquick-form-editor.qdoc | 15 +++++++++------ 1 file 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 64305f3e827..a846b755371 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