diff options
author | Peter Penz <ppenz@openismus.com> | 2010-07-28 16:31:50 +0200 |
---|---|---|
committer | Sergiy Dubovik <sergiy.dubovik@nokia.com> | 2010-07-30 13:56:48 +0300 |
commit | 6442d948d0d737f600ae18d60273fe8326b9191c (patch) | |
tree | 84af17e2ccefcf9546d973e1be74deba171595b6 /tests | |
parent | 861c0f61b371311800268c1cd3f99c169430c78c (diff) |
Changes: Fix right-to-left alignment, wrong clipping and single-line wrapping.
RevBy: John Tapsell
Details: The clipping "worked" already before, but it relied on a specific implementation of adjustTextOffset(), which is dangerous. This has been fixed so that the clipping also works in cases where adjustTextOffset() does not fulfill those assertions. The right-to-left alignment code had been fixed for some corner cases like when no horizontal alignment has been specified at all. When no wrapping is defined, also the character QChar::LineSeparator must be replaced by a space to stay backward compatible.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions