How to get the correct border width style property of image button

Description

i created an empty style and specify the border width = 5 of LV_STATE_FOCUSED ( LV_STATE_DEFAULT is not specified) , then add the style to an image button

Although the image button really has border on simulator , the border property remains zero if i retreive it by _lv_obj_get_style_int

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

lv_sim_visual_studio

What LVGL version are you using?

7.11

What do you want to achieve?

get the correct border width style property of image button

What have you tried so far?

verify test code on simulator

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

	static lv_style_t image_button_1_s0;

	lv_style_init(&image_button_1_s0);
	lv_style_set_border_width(&image_button_1_s0, LV_STATE_FOCUSED, 5);
	lv_obj_add_style(image_button_1, 0, &image_button_1_s0);

	lv_style_int_t border_width = _lv_obj_get_style_int(image_button_1, LV_IMGBTN_PART_MAIN, (LV_STATE_FOCUSED << LV_STYLE_STATE_POS) | LV_STYLE_BORDER_WIDTH);