klyn.gui.windows.Label.wordWrap
property

    public property wordWrap as Boolean = false

Description

Whether text is wrapped to the available label width.

Wrapping preserves explicit line breaks, prefers whitespace boundaries and splits a single oversized token only when required. The property is disabled by default so existing single-line labels retain their current layout.

    hint = Label("This explanation wraps when the window becomes narrow.")
    hint.wordWrap = true
    hint.preferredHeight = 48