You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see in the attached screenshot when a label is inside of a smaller container, there is an extra black bar got drawn randomly (on the side, or on the bottom).
In LVGL v7.11, this wasn't an issue, was always working.
Thanks in advance :)
How to reproduce?
voidbug_screen()
{
lv_obj_t*screen=lv_scr_act();
lv_obj_clean(screen);
/* Case1: Hello World label working fine */lv_obj_t*cont=lv_obj_create(screen);
lv_obj_set_flex_flow(cont, LV_FLEX_FLOW_ROW);
lv_obj_set_size(cont, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_obj_t*lbl=lv_label_create(cont);
lv_label_set_text(lbl, "Hello World!");
lv_obj_align(cont, LV_ALIGN_TOP_LEFT, 0, 10);
/* Case2: Hello World label has a bug of an extra black bar drawn below H letter */lv_obj_t*cont2=lv_obj_create(screen);
lv_obj_set_size(cont2, 50, LV_SIZE_CONTENT);
lv_obj_t*lbl2=lv_label_create(cont2);
lv_label_set_text(lbl2, "Hello World!");
lv_obj_align(cont2, LV_ALIGN_BOTTOM_LEFT, 0, -10);
/* Case3: X label has a bug of an extra black bar drawn on the right side */lv_obj_t*cont3=lv_obj_create(screen);
lv_obj_set_size(cont3, 20, 30);
lv_obj_t*lbl3=lv_label_create(cont3);
lv_label_set_text(lbl3, "x");
lv_obj_align(lbl3, LV_ALIGN_CENTER, 0, 0);
lv_obj_align(cont3, LV_ALIGN_CENTER, 0, 0);
}
The text was updated successfully, but these errors were encountered:
LVGL version
v8.4.0
Platform
Simulator (Linux SDL2)
What happened?
I'm migrating from LVGL v7.11 to v8.4.0
As you can see in the attached screenshot when a label is inside of a smaller container, there is an extra black bar got drawn randomly (on the side, or on the bottom).
In LVGL v7.11, this wasn't an issue, was always working.
Thanks in advance :)
How to reproduce?
The text was updated successfully, but these errors were encountered: