aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2020-05-07 16:29:34 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2020-05-11 06:35:59 +0000
commitc1781320f367fa456f642a46cdddb0325a03720c (patch)
treecb2bcf94d15e1f88364465160cfbd6ea8b82a4e7
parent993a6288596bb36600d7d4d3057725e7afe2e727 (diff)
Doc: Describe using Alt and Shift modifiers in Form Editor
...when resizing items Fixes: QDS-2034 Change-Id: I4b4589a19c3c0ca96d6f8a80c7e4a3cc03731690 Reviewed-by: Aleksei German <aleksei.german@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--doc/qtcreator/images/qmldesigner-form-editor.pngbin0 -> 43269 bytes
-rw-r--r--doc/qtcreator/src/qtquick/qtquick-form-editor.qdoc20
2 files changed, 20 insertions, 0 deletions
diff --git a/doc/qtcreator/images/qmldesigner-form-editor.png b/doc/qtcreator/images/qmldesigner-form-editor.png
new file mode 100644
index 0000000000..66aaa7229d
--- /dev/null
+++ b/doc/qtcreator/images/qmldesigner-form-editor.png
Binary files differ
diff --git a/doc/qtcreator/src/qtquick/qtquick-form-editor.qdoc b/doc/qtcreator/src/qtquick/qtquick-form-editor.qdoc
index b5bff4b08c..c0e795ffbd 100644
--- a/doc/qtcreator/src/qtquick/qtquick-form-editor.qdoc
+++ b/doc/qtcreator/src/qtquick/qtquick-form-editor.qdoc
@@ -34,6 +34,26 @@
You design applications in the \uicontrol {Form Editor} by placing items
into it.
+ \image qmldesigner-form-editor.png "Form Editor view"
+
+ \section1 Resizing Items
+
+ When you select items in the \uicontrol {Form Editor}, selection handles
+ appear around their edges and in their corners. You can drag the selection
+ handles to resize items.
+
+ \if defined(qtdesignstudio)
+ To have the resizing done from the center of the selected item instead from
+ its edges, press \key Alt.
+
+ To preserve the image aspect ratio while resizing when using the corner
+ handles, press \key Shift. This also works on items that are anchored
+ using left, right, top, or bottom anchors.
+
+ To both resize from the center of the item and preserve the aspect ratio,
+ press \key Alt+Shift.
+ \endif
+
\section1 Snapping to Parent and Sibling Items
When you are working on a design, you can use snapping to align