diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com> | 2015-09-01 12:31:07 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com> | 2015-09-24 12:47:30 +0000 |
commit | e255fdf207891765aa550709e084614242aebeec (patch) | |
tree | 8e69a5276c06ecb5a31dbe8549e37f8be18df332 /src/qml/qml/v8/qv8engine.cpp | |
parent | 61ce37de40711ef2d4a6b4989d8183e1711fc47d (diff) |
Fix baseline of text with vertical align != Top
When the height changes and the vertical alignment is
center or bottom, we need to call updateSize(), since
this updates the baseline offset. So we need to account
for this case in the geometryChanged() handler.
[ChangeLog][Text] Fixed baseline of Text elements where the
vertical alignment was something other than top.
Change-Id: I738c0603e7bf91e5e7ea1a40d4f925f41f868758
Task-number: QTBUG-43226
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/v8/qv8engine.cpp')
0 files changed, 0 insertions, 0 deletions