The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_LVGL_TXT_LINE_BREAK_LONG_PRE_MIN_LEN

Minimal number of characters on line before line break

Type: int

Help

Minimal number of characters to place on a line before a line break
in the middle of a word can occur.

Direct dependencies

LVGL

(Includes any dependencies from ifs and menus.)

Default

  • 3

Kconfig definition

At lib/gui/lvgl/Kconfig.text:33

Included via Kconfig:8Kconfig.zephyr:43lib/Kconfig:8lib/gui/Kconfig:4lib/gui/lvgl/Kconfig:32

Menu path: (Top) → Additional libraries → LittlevGL GUI library → Text settings

config LVGL_TXT_LINE_BREAK_LONG_PRE_MIN_LEN
    int "Minimal number of characters on line before line break"
    default 3
    depends on LVGL
    help
      Minimal number of characters to place on a line before a line break
      in the middle of a word can occur.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)