From 04eb4d19a32c92453c6a74037e4ddf065e5e4f49 Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Wed, 2 Jun 2010 16:04:38 +1000 Subject: Text should update when the alignment changes. --- src/declarative/graphicsitems/qdeclarativetext.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/declarative/graphicsitems') 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); } -- cgit v1.2.1