diff options
author | Mitch Curtis <[email protected]> | 2016-05-12 14:56:20 +0200 |
---|---|---|
committer | J-P Nurmi <[email protected]> | 2016-09-29 17:12:56 +0000 |
commit | 79cfc8788d6267eeb263983466ba21758f618dcd (patch) | |
tree | c6ccdfeb3abd15947e28d02845d15ff39460ccaf /src/qml/jsruntime/qv4jsonobject.cpp | |
parent | 84d3a064d7ab331c42ec1ced6e658a8bcc32f0f7 (diff) |
Fix incorrectly aligned text whose size depends on its implicit size
The if statement in QQuickTextPrivate::setupTextLayout() was missing
an OR clause for the case where the line width is neither greater
nor less than the old width/natural width, but has actually changed.
If that sounds confusing, it's because it is. Basically, the outer
layouting loop in that function needs to run twice for this scenario,
so that's what this patch makes it do.
Change-Id: I13777667eb13506d50f05e9766785a1c2c46125c
Task-number: QTBUG-50738
Task-number: QTBUG-50740
Reviewed-by: Liang Qi <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4jsonobject.cpp')
0 files changed, 0 insertions, 0 deletions