mirror of
https://github.com/esphome/esphome.git
synced 2026-09-28 07:20:24 +00:00
[lvgl] Allow negative text_letter_space, text_line_space (#19576)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user