diff --git a/lv_conf_templ.h b/lv_conf_templ.h index d035fac07..afb941080 100644 --- a/lv_conf_templ.h +++ b/lv_conf_templ.h @@ -112,7 +112,7 @@ #define LV_TXT_BREAK_CHARS " ,.;:-_" /*Can break texts on these chars*/ #define LV_TXT_LINE_BREAK_LONG_LEN 12 /* If a character is at least this long, will break wherever "prettiest" */ #define LV_TXT_LINE_BREAK_LONG_PRE_MIN_LEN 3 /* Minimum number of characters of a word to put on a line before a break */ -#define LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN 0 /* Minimum number of characters of a word to put on a line after a break */ +#define LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN 1 /* Minimum number of characters of a word to put on a line after a break */ /*Feature usage*/ #define USE_LV_ANIMATION 1 /*1: Enable all animations*/ diff --git a/lv_misc/lv_txt.c b/lv_misc/lv_txt.c index 006428352..81d874de9 100644 --- a/lv_misc/lv_txt.c +++ b/lv_misc/lv_txt.c @@ -23,7 +23,7 @@ #endif #ifndef LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN -#define LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN 0 /* Minimum number of characters of a word to put on a line after a break */ +#define LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN 1 /* Minimum number of characters of a word to put on a line after a break */ #endif /**********************