summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@digia.com>2014-10-20 11:17:26 +0200
committerLeena Miettinen <riitta-leena.miettinen@digia.com>2014-10-20 11:59:31 +0200
commit2679c5f7e03185ab0cc9018c59c725c52804c0e9 (patch)
tree9d955c45bfd17003f4fd42db2c9f0a5b4ff54ced
parent59c68e6830215a5ead918666074da45638b72fe3 (diff)
Doc: add info about letter spacing type to function desc
Task-number: QTBUG-41222 Change-Id: I18168dfa503feac07ee1b7bc349b9f14b7351518 Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
-rw-r--r--src/gui/text/qfont.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp
index 9caebc6ec6..54fcbac308 100644
--- a/src/gui/text/qfont.cpp
+++ b/src/gui/text/qfont.cpp
@@ -1452,7 +1452,8 @@ qreal QFont::letterSpacing() const
Letter spacing changes the default spacing between individual
letters in the font. The spacing between the letters can be
- made smaller as well as larger.
+ made smaller as well as larger either in percentage of the
+ character width or in pixels, depending on the selected spacing type.
\sa letterSpacing(), letterSpacingType(), setWordSpacing()
*/