diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-06-02 06:04:38 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-06-02 06:05:46 (GMT) |
commit | 04eb4d19a32c92453c6a74037e4ddf065e5e4f49 (patch) | |
tree | b54e527866d535c243fe6ea35cf8aaa8f826aeb2 /src/declarative/graphicsitems/qdeclarativetext.cpp | |
parent | 3609497406ad3c4128faeac8a4fb4cddf79deaf1 (diff) | |
download | Qt-04eb4d19a32c92453c6a74037e4ddf065e5e4f49.zip Qt-04eb4d19a32c92453c6a74037e4ddf065e5e4f49.tar.gz Qt-04eb4d19a32c92453c6a74037e4ddf065e5e4f49.tar.bz2 |
Text should update when the alignment changes.
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetext.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetext.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetext.cpp b/src/declarative/graphicsitems/qdeclarativetext.cpp index a6bf5d4..f4722c3 100644 --- a/src/declarative/graphicsitems/qdeclarativetext.cpp +++ b/src/declarative/graphicsitems/qdeclarativetext.cpp @@ -479,6 +479,7 @@ void QDeclarativeText::setHAlign(HAlignment align) return; d->hAlign = align; + update(); emit horizontalAlignmentChanged(align); } @@ -495,6 +496,7 @@ void QDeclarativeText::setVAlign(VAlignment align) return; d->vAlign = align; + update(); emit verticalAlignmentChanged(align); } |