qt5base-lts/tests/auto/gui
Vladimir Belyavsky 4945fd93f1 QTextLayout: fix maximumWidth() for a text containing spaces
When laying out a text and calculating maxWidth, we must _always_ take
into account the accumulated width of spaces (lbh.spaceData.textWidth)
regardless of wrapMode, other text content, spaces position, etc.

Fixes: QTBUG-106947
Change-Id: I2ac9af92ed7dd07c1e040bfcf83949a358d1c9c9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2022-10-06 08:43:11 +00:00
..
image Fix setScaledClipRect autotest for reading SVG format 2022-09-27 13:12:11 +02:00
itemmodels Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
kernel Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
math3d tst_qmatrixnxn: port away from deprecated APIs 2022-09-06 13:59:57 +02:00
painting Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
platform Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qopengl Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qopenglconfig Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qvulkan Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
rhi Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
text QTextLayout: fix maximumWidth() for a text containing spaces 2022-10-06 08:43:11 +00:00
util Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00