diff options
author | Dmitry Zelenkovsky <Dmitry.Zelenkovskiy@nokia.com> | 2011-04-28 09:49:13 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2011-04-28 09:49:13 (GMT) |
commit | ee9455ed2a83084692d969c398ecb91bcd4fc33a (patch) | |
tree | e5f5ffdef2bbd0e68b26a4f0e64977e29b5da537 /doc/src/snippets/declarative/codingconventions/myscript.js | |
parent | f0faf4011e1128ab5e58ce3912d379481f8320cb (diff) | |
download | Qt-ee9455ed2a83084692d969c398ecb91bcd4fc33a.zip Qt-ee9455ed2a83084692d969c398ecb91bcd4fc33a.tar.gz Qt-ee9455ed2a83084692d969c398ecb91bcd4fc33a.tar.bz2 |
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>
Diffstat (limited to 'doc/src/snippets/declarative/codingconventions/myscript.js')
0 files changed, 0 insertions, 0 deletions