diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2021-01-22 12:39:02 +0100 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2021-01-25 15:02:30 +0000 |
commit | 4d2bfff1d5113d2cf83ee3ee4589b56b711ea5b3 (patch) | |
tree | 8764b1b6f35f01389df5b27f32de46da3e783cc8 | |
parent | d784696f6d6fb3fd4061acd2eca897bce03b0254 (diff) |
Doc: Describe setting canvas color for components
Change-Id: I2fcc1d45e9caddfb3d52a87cc03043249472b751
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r-- | doc/qtcreator/images/icons/canvas-color.png | bin | 0 -> 94 bytes | |||
-rw-r--r-- | doc/qtcreator/images/qmldesigner-canvas-color.png | bin | 0 -> 5691 bytes | |||
-rw-r--r-- | doc/qtcreator/src/qtquick/qtquick-form-editor.qdoc | 11 |
3 files changed, 11 insertions, 0 deletions
diff --git a/doc/qtcreator/images/icons/canvas-color.png b/doc/qtcreator/images/icons/canvas-color.png Binary files differnew file mode 100644 index 0000000000..edbc90cd2e --- /dev/null +++ b/doc/qtcreator/images/icons/canvas-color.png diff --git a/doc/qtcreator/images/qmldesigner-canvas-color.png b/doc/qtcreator/images/qmldesigner-canvas-color.png Binary files differnew file mode 100644 index 0000000000..af6ce61224 --- /dev/null +++ b/doc/qtcreator/images/qmldesigner-canvas-color.png diff --git a/doc/qtcreator/src/qtquick/qtquick-form-editor.qdoc b/doc/qtcreator/src/qtquick/qtquick-form-editor.qdoc index 16ba6e830d..951479b9d0 100644 --- a/doc/qtcreator/src/qtquick/qtquick-form-editor.qdoc +++ b/doc/qtcreator/src/qtquick/qtquick-form-editor.qdoc @@ -165,6 +165,17 @@ \uicontrol {Qt Quick} > \uicontrol {Qt Quick Designer} and specify the canvas width and height in the \uicontrol Canvas group. + \section1 Setting Canvas Color + + If you set the background of the root item of your component transparent, + the canvas color can make it difficult to see the component you are working + on. To make components more visible, you can select the canvas color in + the \inlineimage icons/canvas-color.png + list. By default, the color is transparent. Setting the canvas color does + not affect the background color of your UI or components in any way. + + \image qmldesigner-canvas-color.png "Transparent canvas color for a transparent component" + \section1 Refreshing the Form Editor Contents When you open QML files in the Design mode, the items in the file are drawn |