aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/Qt6QmlMacros.cmake
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-05-07 11:36:25 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-05-08 16:51:47 +0200
commite1b63ac3e9a1c3920dd00a862d3f12fd278124e0 (patch)
tree645a1af1a52aa80dbd4e979482f8f46ef51ed702 /src/qml/Qt6QmlMacros.cmake
parent0c8297ecb0c6512b24e021ebdb306c5279a2f48d (diff)
TableView: during layout, set item width before height
Text items like TextEdit will calculate their implicit height based on the assigned width (because of word-wrap). It's therefore better to set the width of delegate items first during a layout than after, since then we also get the correct height in such (special) cases. The result is that a rows height will show all the text in a TextEdit, and not clip it. Pick-to: 5.14 5.15 Task-number: QTBUG-84046 Change-Id: I1893187027b45649568347ffc3ed5d4d84beaa95 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/qml/Qt6QmlMacros.cmake')
0 files changed, 0 insertions, 0 deletions