summaryrefslogtreecommitdiff
path: root/src/declarative/graphicsitems
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-06-02 16:04:38 +1000
committerMichael Brasser <michael.brasser@nokia.com>2010-06-02 16:05:46 +1000
commit04eb4d19a32c92453c6a74037e4ddf065e5e4f49 (patch)
treeb54e527866d535c243fe6ea35cf8aaa8f826aeb2 /src/declarative/graphicsitems
parent3609497406ad3c4128faeac8a4fb4cddf79deaf1 (diff)
downloadqt4-tools-04eb4d19a32c92453c6a74037e4ddf065e5e4f49.tar.gz
Text should update when the alignment changes.
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetext.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetext.cpp b/src/declarative/graphicsitems/qdeclarativetext.cpp
index a6bf5d4862..f4722c3513 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);
}