aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/doc/src/qtquickcontrols2-imagine.qdoc
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-06-12 03:01:07 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-06-12 03:01:07 +0200
commit7fec7105b7f6119135aafd6f9ee609128125d594 (patch)
treebef3eb6e82d905116839e478744368a408bd3925 /src/imports/controls/doc/src/qtquickcontrols2-imagine.qdoc
parent500fbe43712f9a961efbca35c9f5b9cfdf0173a5 (diff)
parent08437d525a168df9abbda74d5b5ffddfd2841702 (diff)
Merge remote-tracking branch 'origin/5.11' into dev
Diffstat (limited to 'src/imports/controls/doc/src/qtquickcontrols2-imagine.qdoc')
-rw-r--r--src/imports/controls/doc/src/qtquickcontrols2-imagine.qdoc12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/imports/controls/doc/src/qtquickcontrols2-imagine.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-imagine.qdoc
index 75dec936..9f0010c4 100644
--- a/src/imports/controls/doc/src/qtquickcontrols2-imagine.qdoc
+++ b/src/imports/controls/doc/src/qtquickcontrols2-imagine.qdoc
@@ -2299,9 +2299,15 @@
\image qtquickcontrols2-imagine-9-patch-4x.png
The content of the image is 44 pixels wide by 32 pixels high. Every 9-patch
- image needs a one pixel thick border around every side, so the actual size
- of the image becomes 46 pixels wide by 34 pixels high. The 9-patch lines
- must be black, and the remaining areas must be transparent or white:
+ image needs a one pixel thick line (collectively referred to as
+ "9-patch lines") around every side, so the actual size of the image becomes
+ 46 pixels wide by 34 pixels high. Note that the 9-patch lines must be one
+ pixel thick regardless of the target DPI of the image. For example,
+ the 9-patch lines for button-background.9.png and button-background@2x.9.png
+ must both be one pixel thick.
+
+ The 9-patch lines must be black, and the remaining areas must be transparent
+ or white:
\image qtquickcontrols2-imagine-9-patch-size.png