aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2024-04-10 17:10:15 +0200
committerIvan Solovev <ivan.solovev@qt.io>2024-04-12 20:32:59 +0200
commit235bbe8c644415a83e3f5103eff7c4ef4181164a (patch)
tree6cd32432c3dd2a166471cef25bc8af8937bfaba1 /src/qml/qml
parentf3c7f88daca2643b5bc79944a6bfb23d51d61571 (diff)
Fix Text with ElideRight rendering when margins are set
Commit 127c79fb7fda16b9a48ce8c425d1700d1aa7502d already addressed the issue, but didn't take into account the fact that the old width can be negative when the non-zero margins are set. Provide a trivial fix and extend the unit-tests. Amends 127c79fb7fda16b9a48ce8c425d1700d1aa7502d. Fixes: QTBUG-83408 Fixes: QTBUG-33608 Pick-to: 6.7 6.5 6.2 Change-Id: I7c43bd72f63d577995138ad4aa3e1195011b6bc9 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/qml/qml')
0 files changed, 0 insertions, 0 deletions