qt5base-lts/tests/auto/gui/text/qstatictext
Allan Sandfeld Jensen bd74b624d5 Improve bounding rect of QStaticText with Qt::PlainText
The bounding rect was not including positive leading of the last line. This
patch solves it by changing using QTextLine's setLeadingIncluded, and adds
handling of negative leading to keep rendering unchanged in that case.

Change-Id: I4d18b81892184bb85cd7949a5dc3fb9cfa270a26
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2018-05-23 09:52:30 +00:00
..
qstatictext.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
tst_qstatictext.cpp Improve bounding rect of QStaticText with Qt::PlainText 2018-05-23 09:52:30 +00:00