[lvgl] Allow negative text_letter_space, text_line_space (#19576)

This commit is contained in:
Philip Poten
2026-09-24 19:18:32 +10:00
committed by GitHub
parent 698eb71862
commit cd5ff787f4
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -292,8 +292,8 @@ BASE_PROPS = {
"LV_TEXT_DECOR_", "NONE", "UNDERLINE", "STRIKETHROUGH"
).several_of,
"text_font": lv_font,
"text_letter_space": lvalid.lv_positive_int,
"text_line_space": lvalid.lv_positive_int,
"text_letter_space": lvalid.lv_int,
"text_line_space": lvalid.lv_int,
"text_opa": lvalid.opacity,
"text_outline_stroke_color": lvalid.lv_color,
"text_outline_stroke_opa": lvalid.opacity,
+2
View File
@@ -560,6 +560,8 @@ lvgl:
#endif
return std::string(buf);
align: top_left
text_letter_space: -4
text_line_space: -4
- container:
align: center
anim_duration: 1s