Description
Hi
I try to change the local_border_color of btns in an msgbox. but when I try to do this by:
lv_obj_set_style_local_border_color(msgbox_confirmation, LV_MSGBOX_PART_BTN, LV_STATE_DEFAULT, LV_COLOR_RED);
I get a hard fault. Not sure but it seems a bug to me. So I would appreciate it if someone checks this and let me know if it is.
What MCU/Processor/Board and compiler are you using?
stm32f429, GCC, cubeide
What LVGL version are you using?
v7.11
What do you want to achieve?
try to change the local_border_color of btns in a msgbox
What have you tried so far?
using this code:
lv_obj_set_style_local_border_color(msgbox_confirmation, LV_MSGBOX_PART_BTN, LV_STATE_DEFAULT, LV_COLOR_RED);