diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-04-19 14:40:19 +0200 |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-04-29 11:02:24 +0200 |
commit | 044e7602ae72889f363d688dbe0d73cec5f0636a (patch) | |
tree | a7f1289e0b4449cea6d61835e50c92b1de958b42 /tests/auto/qcomplextext/tst_qcomplextext.cpp | |
parent | d6232575848384f364cecb13f98926989863e852 (diff) |
Take leading space width into account for painting and selection
When painting horizontally centered RTL text and selection with
trailing spaces, we need to take that space width into account
because line.textAdvance doesn't include it.
Task-number: QTBUG-18612
Reviewed-by: Eskil
(cherry picked from commit 224226727f07e8940e0d3131fe7587b11cc4a6ca)
Diffstat (limited to 'tests/auto/qcomplextext/tst_qcomplextext.cpp')
0 files changed, 0 insertions, 0 deletions