aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/doc/src/includes/qquickcontrol-background.qdocinc
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/doc/src/includes/qquickcontrol-background.qdocinc')
-rw-r--r--src/imports/controls/doc/src/includes/qquickcontrol-background.qdocinc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/imports/controls/doc/src/includes/qquickcontrol-background.qdocinc b/src/imports/controls/doc/src/includes/qquickcontrol-background.qdocinc
new file mode 100644
index 00000000..02d92de0
--- /dev/null
+++ b/src/imports/controls/doc/src/includes/qquickcontrol-background.qdocinc
@@ -0,0 +1,13 @@
+//! [notes]
+
+\note If the background item has no explicit size specified, it automatically
+ follows the control's size. In most cases, there is no need to specify
+ width or height for a background item.
+
+\note Most controls use the implicit size of the background item to calculate
+the implicit size of the control itself. If you replace the background item
+with a custom one, you should also consider providing a sensible implicit
+size for it (unless it is an item like \l Image which has its own implicit
+size).
+
+//! [notes]