Details
-
Suggestion
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.7.0
-
None
Description
Hi,
I have a fixed-size label with text on it and since that text comes from QM files, I want it to be elided when it is too long for the label.
If I now use Text.ElideRight, RTL fonts are cut off at the beginning of the string. Would it not be great if there was something like Text.ElideFront and Text.ElideBack which always cuts off the beginning or end of the string regardless of it's writing direction?
Or is there already a nice way this can be handled? The docs of the elide property do not mention RTL fonts.
https://doc.qt.io/qt-5/qml-qtquick-text.html#elide-prop