The outline of the button is not displayed

What MCU/Processor/Board and compiler are you using?

rt1052 + st7789 240*240 RGB565 + gcc

What LVGL version are you using?


When I use the following code, SDL can work normally, showing the outline of the Button, but the same code can‘t display the outline on the rt1052. The parameters of the outline on the rt1052 appear to be the same as those on the SDL simulation device. There is currently no idea how to do it Debugging, has anyone solved a similar problem, can you give me some advice, thank you

    btn1 = lv_btn_create(parent,NULL);
	btn2 = lv_btn_create(parent,NULL);
    lv_theme_apply(btn1, LV_THEME_BTN);
	lv_theme_apply(btn2, LV_THEME_BTN);
    lv_obj_set_state(btn1, LV_STATE_FOCUSED | LV_STATE_EDITED);
	lv_obj_align(btn1, parent, LV_ALIGN_IN_TOP_LEFT, 0, 10);
	lv_obj_align(btn2, parent, LV_ALIGN_IN_TOP_RIGHT, 0, 10);


The reason has been found, LV_USE_OUTLINE=1 is not configured for rt1052. :sweat_smile: