fix(label): use LV_LABEL_LONG_MODE_* instead of LV_LABEL_LONG_*

This commit is contained in:
Gabor Kiss-Vamosi
2024-11-24 20:15:43 +01:00
parent f23b42be7f
commit db11e7bae5
16 changed files with 52 additions and 44 deletions

View File

@@ -262,7 +262,7 @@ static void profile_create(lv_obj_t * parent)
lv_obj_t * dsc = lv_label_create(panel1);
lv_obj_add_style(dsc, &style_text_muted, 0);
lv_label_set_text_static(dsc, "This is a short description of me. Take a look at my profile!");
lv_label_set_long_mode(dsc, LV_LABEL_LONG_WRAP);
lv_label_set_long_mode(dsc, LV_LABEL_LONG_MODE_WRAP);
lv_obj_t * email_icn = lv_label_create(panel1);
lv_obj_add_style(email_icn, &style_icon, 0);