Btn btn focus error

Description

When I focus on a button in a list, the focus is not correct on that button.

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

STM32F407

What do you experience?

Give a detailed description. “It doesn’t work” is not enough information for us to diagnose the issue.

What do you expect?

Code to reproduce

Add a code snippet to reproduce the issue in the simulator. It should contain only the relevant code which can be compiled. Bug reports without code snippets or with erroneous code snippets will not be reviewed.

Use the ```c and ``` tags to format your code:

		list_Language_config= lv_list_create(Config_screen, NULL);
//		lv_obj_set_size(list_Language_config, 239, 320);
		lv_obj_set_pos(list_Language_config,30, 3 5+lv_obj_get_height(list_btn[0])*Num_btn_config);
		lv_obj_add_style(list_Language_config, LV_OBJ_PART_MAIN, &text_style_nomal);

		/*Add buttons to the list*/

		list_language_btn[0] = lv_list_add_btn(list_Language_config, NULL,"Tiếng Việt");
		lv_obj_add_style(list_language_btn[0], LV_OBJ_PART_MAIN, &text_style_nomal);
		lv_obj_set_event_cb(list_language_btn[0], Config_event_handler);

		list_language_btn[1] = lv_list_add_btn(list_Language_config, NULL,"English");
		lv_obj_add_style(list_language_btn[1], LV_OBJ_PART_MAIN, &text_style_nomal);
		lv_obj_set_event_cb(list_language_btn[1], Config_event_handler);

		lv_obj_set_height(list_Language_config,lv_obj_get_height(list_language_btn[0])*2);

		lv_list_focus_btn(list_Language_config,list_language_btn[0]);
		lv_obj_set_hidden(list_Language_config, true);

Screenshot and/or video



If possible, add screenshots and/or videos about the current issue.

I’ve tried to reproduce the issue but the styles you have used are added to the code above.

With the default styles, I can’t see any problem. :frowning: