forked from qt-creator/qt-creator
Doc: Describe setting canvas color for components
Change-Id: I2fcc1d45e9caddfb3d52a87cc03043249472b751 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
BIN
doc/qtcreator/images/icons/canvas-color.png
Normal file
BIN
doc/qtcreator/images/icons/canvas-color.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 94 B |
BIN
doc/qtcreator/images/qmldesigner-canvas-color.png
Normal file
BIN
doc/qtcreator/images/qmldesigner-canvas-color.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.6 KiB |
@@ -165,6 +165,17 @@
|
|||||||
\uicontrol {Qt Quick} > \uicontrol {Qt Quick Designer} and
|
\uicontrol {Qt Quick} > \uicontrol {Qt Quick Designer} and
|
||||||
specify the canvas width and height in the \uicontrol Canvas group.
|
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
|
\section1 Refreshing the Form Editor Contents
|
||||||
|
|
||||||
When you open QML files in the Design mode, the items in the file are drawn
|
When you open QML files in the Design mode, the items in the file are drawn
|
||||||
|
Reference in New Issue
Block a user