diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-03-26 09:43:40 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-03-26 10:46:46 (GMT) |
commit | 47472906fd00e0eff820870330d481c4229ee285 (patch) | |
tree | 2543c9449bca6b7148a609567b9aa16f6d910f3d /tests/auto/moc | |
parent | 075918e796b98155b81871f15bf2eb266a783561 (diff) | |
download | Qt-47472906fd00e0eff820870330d481c4229ee285.zip Qt-47472906fd00e0eff820870330d481c4229ee285.tar.gz Qt-47472906fd00e0eff820870330d481c4229ee285.tar.bz2 |
Synchronize rich text and plain text code paths in QStaticText
Drawing a string as plain text and rich text should have identical
results unless special formatting information is added in the html.
This means we should not have any implicit margin on the QTextDocument
used to paint the text, and we should make up for the fact that
the drawStaticText() call currently takes the position of the baseline
and QTextDocument::drawContents() takes the top-left corner.
Reviewed-by: Gunnar
Diffstat (limited to 'tests/auto/moc')
0 files changed, 0 insertions, 0 deletions