diff options
| author | Morteza Jamshidi <morteza.jamshidi@qt.io> | 2024-12-30 15:46:31 +0100 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2025-01-06 11:19:50 +0000 |
| commit | 52b5aaaabbbdef3da9fd9ffc2cf3fb947196ab24 (patch) | |
| tree | 73dc707ff543860a46e12f01e4c3adb7bd201156 /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | |
| parent | d77f98132c79e0eaf5371d5f649b233460c3efb8 (diff) | |
Text: calculate implicitWidth even when width hasn't been set
The item's width may be controlled by a layout, which needs
implicitWidth to decide what the actual width should be.
Alternatively, if Text width has not been set, it should be the same as
implicitWidth, rather than being as narrow as possible and word-wrapping
excessively.
Fixes: QTBUG-129143
Pick-to: 6.8 6.9
Change-Id: Iabc619e07b16a903104ab9724e48104adbca4829
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Reviewed-by: Lars Schmertmann <lars.schmertmann@governikus.de>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions
