There is no required STATE.
I want to fix the style for the STATE
-
LV_STATE_EDITED (0x04): Edit by an encoder
It’s not in the program
If I enter it manually in the file, everything works.lv_obj_set_style_outline_color(ui_Spinbox3, lv_color_hex(0x10FC07), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_outline_opa(ui_Spinbox3, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_outline_width(ui_Spinbox3, 3, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_outline_pad(ui_Spinbox3, 3, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_outline_color(ui_Spinbox3, lv_color_hex(0xE800FF), LV_PART_MAIN | LV_STATE_EDITED);
lv_obj_set_style_outline_opa(ui_Spinbox3, 255, LV_PART_MAIN | LV_STATE_EDITED);
lv_obj_set_style_outline_width(ui_Spinbox3, 3, LV_PART_MAIN | LV_STATE_EDITED);
How to do this from the program. So as not to rewrite manually every time with a new generation.