summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-07-21 00:36:17 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-07-21 00:36:17 (GMT)
commit78a01438e5a37fd1778924f73ca8bfa55960b0d0 (patch)
tree5c19f64dc405ef24be8618f6d3a709d27e46793e /src/declarative/qml
parent164b2b54922d87a44a60efe6dbbe2fa3b7716820 (diff)
downloadQt-78a01438e5a37fd1778924f73ca8bfa55960b0d0.zip
Qt-78a01438e5a37fd1778924f73ca8bfa55960b0d0.tar.gz
Qt-78a01438e5a37fd1778924f73ca8bfa55960b0d0.tar.bz2
font.letterSpacing used percentage rather than absolute values.
... and percentage is useless. Task-number: QTBUG-12282 Reviewed-by: Warwick Allison
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qdeclarativevaluetype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativevaluetype.cpp b/src/declarative/qml/qdeclarativevaluetype.cpp
index c17ec95..61e550a 100644
--- a/src/declarative/qml/qdeclarativevaluetype.cpp
+++ b/src/declarative/qml/qdeclarativevaluetype.cpp
@@ -973,7 +973,7 @@ qreal QDeclarativeFontValueType::letterSpacing() const
void QDeclarativeFontValueType::setLetterSpacing(qreal size)
{
- font.setLetterSpacing(QFont::PercentageSpacing, size);
+ font.setLetterSpacing(QFont::AbsoluteSpacing, size);
}
qreal QDeclarativeFontValueType::wordSpacing() const