user avatar
Fix alignment of Text element with implicit size
Eskil Abrahamsen Blomfeldt authored
In change e1d6b323

 there's an
optimization which disables layouts on the QTextDocument, but the
layout has to be re-enabled before we can call idealWidth() since
this will be zero as long as the page size is 0x0. We simply set
the page size to undefined again before calling idealWidth.

Task-number: QTBUG-29262
Change-Id: I6bebe7be4c99fce0de8fc4178b5e1abc81abbe87
Reviewed-by: default avatarMichael Brasser <michael.brasser@live.com>
Reviewed-by: default avataraavit <eirik.aavitsland@digia.com>
dde26529
Name Last commit Last update
..
accessibility
scenegraph_lancelot