I found this but the Result is not satisficing
If it’ is not possible to clear the written Text of a Label, so what about
an Element like Status Text where the Displayed Values Change.
I found this but the Result is not satisficing
If it’ is not possible to clear the written Text of a Label, so what about
an Element like Status Text where the Displayed Values Change.
If I recall correctly, that issue was a specific user having problems with their platform. Calling lv_label_set_text(label, "")
does work to clear it.
If it doesn’t work it’s possibly a bug with your display driver.
Thx but I use Text Area
void lv_ex_textarea_1(const char Text[])
{
ta1 = lv_textarea_create(lv_scr_act(), NULL);
lv_obj_set_size(ta1, 200, 100);
lv_textarea_set_one_line(ta1, true);
lv_obj_align(ta1, NULL, LV_ALIGN_CENTER, 0, 0);
lv_textarea_set_text(ta1, Text); /*Set an initial text*/
// lv_obj_set_event_cb(ta1, event_handler);
}
You can use lv_textarea_set_text(ta1, "")
. Did you try it?