Hi there, I am having trouble using the message box in lvgl.
The API calls for getting the title and content labels are both returning the same pointer.
STM32F769 on a custom boards. STM32 CubeIDE.
I am trying to set the text for my message box labels (both the title and the content)
I tried setting the label text by first getting the label object, and then setting the text with lv_label_set_text.
At this stage my messagebox title is being updated twice.
When calling the lv_msgbox_get_text, the call to lv_obj_get_child does not take the program to that function, rather, lv_obj_get_child_cnt is called.
lv_obj_t * lv_messageBoxtemp = lv_msgbox_create(NULL, "Welcome to my message box", "Any important information will be displayed here", NULL, false); lv_obj_t * title = lv_msgbox_get_title(lv_messageBoxtemp); lv_obj_t * content = lv_msgbox_get_text(lv_messageBoxtemp); lv_label_set_text(title, "Change title to this"); lv_label_set_text(content, "Change content to this.");