Fixed bug of message screen.

This commit is contained in:
xiaojiazhu 2023-11-23 14:56:57 +08:00
parent 866df35bd6
commit 38c4cd3366
2 changed files with 3 additions and 1 deletions

View File

@ -191,7 +191,8 @@
"bg_color": "0x3c3c3c"
},
"Border": {
"border_color": "0x551f57"
"border_color": "0x551f57",
"border_width": 0
},
"Mix": {
"radius": 12

View File

@ -120,6 +120,7 @@ lv_obj_t* UIFlowWrnMsg_create(){
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_bg_color(&button_msg_bg_s0, LV_STATE_DEFAULT, color);
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&button_msg_bg_s0, LV_STATE_DEFAULT, color);
STYLE_COLOR_PROP(0x00, 0x55, 0x1f, 0x57) ; lv_style_set_border_color(&button_msg_bg_s0, LV_STATE_DEFAULT, color);
lv_style_set_border_width(&button_msg_bg_s0,LV_STATE_DEFAULT,0);
STYLE_COLOR_PROP(0x00, 0x55, 0x1f, 0x57) ; lv_style_set_outline_color(&button_msg_bg_s0, LV_STATE_DEFAULT, color);
STYLE_COLOR_PROP(0x00, 0x55, 0x1f, 0x57) ; lv_style_set_shadow_color(&button_msg_bg_s0, LV_STATE_DEFAULT, color);
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_pattern_recolor(&button_msg_bg_s0, LV_STATE_DEFAULT, color);