C

MCU.Config.Experimental.multiLineElide

Description

You can use this property to adjust the behavior of Text.elide for multi-line texts. Note that this may result in text layout behavior that differs from standard Qt Quick, especially in how overflowing text is truncated. For more details see QtQuick::Text::elide documentation.

Usage

This property is accepted in the main application .qmlproject file. It takes a boolean value, and the default value is false.

Code example:

MCU.Config {
    Experimental.multiLineElide: true
}

If you are using the old (non-qmlproject) build setup, this feature can be enabled by setting the CMake definition MULTI_LINE_ELIDE to 'true'.

Since

This property was introduced in Qt Quick Ultralite 2.12.

Available under certain Qt licenses.
Find out more.