diff options
author | Dmitry Zelenkovsky <Dmitry.Zelenkovskiy@nokia.com> | 2011-04-28 11:49:13 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2011-05-02 09:53:25 +0200 |
commit | f26c4ba80dd927a705f5af03b915dcf1af8f351a (patch) | |
tree | 5abda4379e88b57161af4471d4971a022f1cbd87 /src/opengl/qglextensions_p.h | |
parent | 774527dd1e85da6ab91cba9b0e5897ba90f4c828 (diff) |
Support more items for QTextCharFormat::VerticalAlignment enum for custom text objects.
* QTextCharFormat::AlignNormal - support text format descent, place text object bottom on (baseline - descent).
* QTextCharFormat::AlignBottom - place text object bottom on baseline.
* QTextCharFormat::AlignTop - Still not supported.
* Any other vertical alignment is mapped QTextCharFormat::AlignBottom.
Add new enum AlignBaseline for custom inline objects to take into account font baseline.
Merge-request: 2578
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
(cherry picked from commit ee9455ed2a83084692d969c398ecb91bcd4fc33a)
Diffstat (limited to 'src/opengl/qglextensions_p.h')
0 files changed, 0 insertions, 0 deletions