Two line elided Text
-
Greetings Trolls,
I'm using a QML Text component + "Text.ElideRight" and it's working fine.
But when I'm having a string like "Hello\nWorld" I can't seem to keep the "ElideRight" together with the line skip.
Has anyone got a trick for a "two line elided" QML Text ?
Thanks.
B.A.
-
Hi,
Eliding multi-line text isn't currently supported, but it's something we'd like to support (see "QTBUG-12305":http://bugreports.qt.nokia.com/browse/QTBUG-12305). We'll update the documentation for elide to make that clearer (it currently says that it cannot be used with wrapping enabled, but it's really any multiline text that doesn't work).
Regards,
Michael