I am trying to load a screen and it is not working properly.
What MCU/Processor/Board and compiler are you using?
nRF52840 but also tried it on Simulator and having the same problem.
What do you experience?
I create and load a screen but screen is showing all black.
What do you expect?
I expect proper screen to be loaded.
Code to reproduce
lv_obj_t *screen1 = lv_obj_create(NULL, NULL); lv_obj_t *heading = lv_label_create(screen1, NULL); lv_obj_set_width(heading, LV_HOR_RES - 2); lv_label_set_text(heading, "Add Text"); lv_obj_align(heading, NULL, LV_ALIGN_IN_TOP_MID, 0, 0); lv_scr_load(screen1);