diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-03-30 12:55:34 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-03-31 08:54:41 (GMT) |
commit | b92a31da01ee50fed4b10282e79f812167faf659 (patch) | |
tree | 9197678d184a459ca5ffe858b59b07b4272bb6f7 /src/gui/text/qtextdocument_p.h | |
parent | 918b0fbd8673d3d6d74c655207e9b1688357254b (diff) | |
download | Qt-b92a31da01ee50fed4b10282e79f812167faf659.zip Qt-b92a31da01ee50fed4b10282e79f812167faf659.tar.gz Qt-b92a31da01ee50fed4b10282e79f812167faf659.tar.bz2 |
Fix horizontal centered text drawing without word wrap
In this case we can't use line width to align the text, we have to
use the rectangle width given in QPainter::drawText for alignment
instead.
Reviewed-by: Eskil
Diffstat (limited to 'src/gui/text/qtextdocument_p.h')
0 files changed, 0 insertions, 0 deletions