fix(label): use LV_LABEL_LONG_MODE_* instead of LV_LABEL_LONG_*
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user