diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2012-02-13 09:52:11 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-13 02:58:23 +0100 |
commit | 09923aec384ae8b972c85e9912aa89a8c2eeba8b (patch) | |
tree | b50c9e47aca1698db4c811286832be8bb85f493b /src | |
parent | ab55e0deeeffbf513b9fb6ce079c7b76b6c1ef4b (diff) |
QML Text: make sure that the bounding rect has a y position of 0.
This line was lost in a previous merge.
Change-Id: If3683fa17630452abab115638c1c0ebf0824e2a1
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/quick/items/qquicktext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/items/qquicktext.cpp b/src/quick/items/qquicktext.cpp index 52365a8a21..f96c9b15fc 100644 --- a/src/quick/items/qquicktext.cpp +++ b/src/quick/items/qquicktext.cpp @@ -773,6 +773,7 @@ QRect QQuickTextPrivate::setupTextLayout() } layout.endLayout(); + br.moveTop(0); if (once) { naturalWidth = layout.maximumWidth(); |