summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxtextedit.cpp
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-08-20 06:29:04 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-08-20 06:29:04 (GMT)
commitefe920cb2873facc7f9b21f77b678628e9c3dcb2 (patch)
treea346542f1eafa29d5746477e21f6698e869bb96e /src/declarative/fx/qfxtextedit.cpp
parent3cfba122843d64bb6761808c020b27c231dad8be (diff)
downloadQt-efe920cb2873facc7f9b21f77b678628e9c3dcb2.zip
Qt-efe920cb2873facc7f9b21f77b678628e9c3dcb2.tar.gz
Qt-efe920cb2873facc7f9b21f77b678628e9c3dcb2.tar.bz2
Update documentation regarding font.pointSize
Diffstat (limited to 'src/declarative/fx/qfxtextedit.cpp')
-rw-r--r--src/declarative/fx/qfxtextedit.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/declarative/fx/qfxtextedit.cpp b/src/declarative/fx/qfxtextedit.cpp
index f7f5f0a..3cab15d 100644
--- a/src/declarative/fx/qfxtextedit.cpp
+++ b/src/declarative/fx/qfxtextedit.cpp
@@ -67,7 +67,7 @@ TextEdit {
text: "<b>Hello</b> <i>World!</i>"
focus: true
font.family: "Helvetica"
- font.size: 20
+ font.pointSize: 20
color: "blue"
width: 240
}
@@ -126,7 +126,7 @@ QString QFxTextEdit::text() const
/*!
\qmlproperty font TextEdit::font
- Set the TextEdit's font attributes. \c font.size sets the font's point size.
+ Set the TextEdit's font attributes.
*/
/*!
@@ -169,16 +169,16 @@ void QFxTextEdit::setText(const QString &text)
\qml
VerticalPositioner {
TextEdit {
- font.size: 24
+ font.pointSize: 24
text: "<b>Hello</b> <i>World!</i>"
}
TextEdit {
- font.size: 24
+ font.pointSize: 24
textFormat: "RichText"
text: "<b>Hello</b> <i>World!</i>"
}
TextEdit {
- font.size: 24
+ font.pointSize: 24
textFormat: "PlainText"
text: "<b>Hello</b> <i>World!</i>"
}