Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
Qt for MCUs 2.8.1
-
None
-
Consumer team Sprint 2024/3.1
Description
The documentation for the elide property (https://doc.qt.io/QtForMCUs-2.8/qml-qtquick-text.html#elide-prop) states:
If a text item contains multi-line text, it must have both width and height defined explicitly. Multi-line text supports Text.ElideRight only.
But it seems it doesn't work:
import QtQuick 2.15 Rectangle { color: "#41CD52" width: 800 height: 480 Rectangle { anchors.fill: text color: "gold" } Text { id: text text: "Text\nTestTestTest" width: 60 height: 100 elide: Text.ElideRight } }
Attachments
Issue Links
- resulted in
-
QTMCU-345 Support Text elide mode where overflowing words in WordWrap mode are also elided (on every line where overflowing)
- Open