C
MCU.Config.ideographicCharacterWrap
Description
In Text.WordWrap mode, CJK ideographic characters are break opportunities by default (matching Qt), so a line may break between any two ideographs.
Set this property to false for behavior similar to CSS word-break: keep-all: WordWrap no longer inserts a break between adjacent ideographs. Spaces, punctuation, and explicit opportunities such as U+200B ZERO WIDTH SPACE still break, so you can control the break points in static, pre-processed strings by inserting the opportunities yourself, rather than relying on runtime word detection.
Usage
This property is accepted in the main application .qmlproject file. It takes a boolean value, and the default value is true.
Code example:
MCU.Config {
ideographicCharacterWrap: false
}If you are using the old (non-qmlproject) build setup, this feature can be configured by setting the CMake definition IDEOGRAPHIC_CHARACTER_WRAP to 'false'.
Since
This property was introduced in Qt Quick Ultralite 2.12.2.
Available under certain Qt licenses.
Find out more.