summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-03-01 15:01:58 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-03-01 15:01:58 (GMT)
commitcab1428311067872b811679e72e0ad457d76a24f (patch)
tree555faeb6281ca25cb5be95824762152dd61530a6
parent4f77d4f1bebba1627700037bdfce4e74ad84cce8 (diff)
downloadQt-cab1428311067872b811679e72e0ad457d76a24f.zip
Qt-cab1428311067872b811679e72e0ad457d76a24f.tar.gz
Qt-cab1428311067872b811679e72e0ad457d76a24f.tar.bz2
Document TextEdit::textMargin
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextedit.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextedit.cpp b/src/declarative/graphicsitems/qdeclarativetextedit.cpp
index 8e44b26..be73b39 100644
--- a/src/declarative/graphicsitems/qdeclarativetextedit.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetextedit.cpp
@@ -613,6 +613,11 @@ void QDeclarativeTextEdit::setPersistentSelection(bool on)
emit persistentSelectionChanged(d->persistentSelection);
}
+/*
+ \qmlproperty number TextEdit::textMargin
+
+ The margin, in pixels, around the text in the TextEdit.
+*/
qreal QDeclarativeTextEdit::textMargin() const
{
Q_D(const QDeclarativeTextEdit);