fix(spangroup): fix height calculation error (#6775)

This commit is contained in:
Benign X
2024-09-02 12:52:17 +08:00
committed by GitHub
parent ca44056f0e
commit cd56cd8428

View File

@@ -442,7 +442,7 @@ int32_t lv_spangroup_get_expand_height(lv_obj_t * obj, int32_t width)
/* coords of draw span-txt */
lv_point_t txt_pos;
lv_point_set(&txt_pos, 0, indent); /* first line need add indent */
lv_point_set(&txt_pos, indent, 0); /* first line need add indent */
lv_span_t * cur_span = lv_ll_get_head(&spans->child_ll);
const char * cur_txt = cur_span->txt;