Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
Qt for MCUs 2.8.1
-
None
-
Consumer team Sprint 2024/3.1
Description
I would expect both the second and third line to get elided here:
import QtQuick 2.15 Rectangle { color: "#41CD52" width: 800 height: 480 Rectangle { anchors.fill: text color: "gold" } Text { id: text text: "Text\nTestTestTest\nTestTestTest" horizontalAlignment: Text.AlignHCenter width: 100 height: 100 elide: Text.ElideRight wrapMode: Text.Wrap } }
With wrapMode: Text.WordWrap there's no eliding at all: