Fixed bug number 10238.

This commit is contained in:
xiaojiazhu 2023-12-14 10:31:53 +08:00
parent ef46d79229
commit 50233ba499
4 changed files with 10 additions and 10 deletions

View File

@ -1289,7 +1289,7 @@
"height": 30, "height": 30,
"width": 90, "width": 90,
"x": 38, "x": 38,
"y": 10 "y": 5
}, },
"hidden": false, "hidden": false,
"locked": false, "locked": false,
@ -1346,7 +1346,7 @@
"height": 40, "height": 40,
"width": 38, "width": 38,
"x": 0, "x": 0,
"y": 0 "y": -5
}, },
"hidden": true, "hidden": true,
"locked": false, "locked": false,
@ -1886,7 +1886,7 @@
"event callback": "", "event callback": "",
"font type": "Font_Type0", "font type": "Font_Type0",
"geometry": { "geometry": {
"height": 3, "height": 2,
"width": 320, "width": 320,
"x": 0, "x": 0,
"y": 119 "y": 119
@ -1906,7 +1906,7 @@
}, },
"Text": { "Text": {
"text_color": "0xff0000", "text_color": "0xff0000",
"text_font": "montserrat 16 4bpp", "text_font": "SF-UI-Text-Medium 16 1bpp",
"text_opa": 0, "text_opa": 0,
"text_sel_bg_color": "0x00b495", "text_sel_bg_color": "0x00b495",
"text_sel_color": "0x3c3c3c" "text_sel_color": "0x3c3c3c"

View File

@ -2402,7 +2402,7 @@
"event callback": "", "event callback": "",
"font type": "Font_Type0", "font type": "Font_Type0",
"geometry": { "geometry": {
"height": 3, "height": 2,
"width": 320, "width": 320,
"x": 0, "x": 0,
"y": 119 "y": 119

View File

@ -1285,7 +1285,7 @@ lv_obj_t* UIFlowMovie_create(){
lv_plugin_label_allocate_ext_attr(label_rec_time); lv_plugin_label_allocate_ext_attr(label_rec_time);
lv_plugin_label_set_font_type(label_rec_time, LV_PLUGIN_LANGUAGE_FONT_TYPE_0); lv_plugin_label_set_font_type(label_rec_time, LV_PLUGIN_LANGUAGE_FONT_TYPE_0);
lv_label_set_long_mode(label_rec_time, LV_LABEL_LONG_CROP); lv_label_set_long_mode(label_rec_time, LV_LABEL_LONG_CROP);
lv_obj_set_pos(label_rec_time, 38, 10); lv_obj_set_pos(label_rec_time, 38, 5);
lv_obj_set_size(label_rec_time, 90, 30); lv_obj_set_size(label_rec_time, 90, 30);
lv_obj_add_style(label_rec_time, 0, &label_rec_time_s0); lv_obj_add_style(label_rec_time, 0, &label_rec_time_s0);
@ -1333,7 +1333,7 @@ lv_obj_t* UIFlowMovie_create(){
lv_obj_set_hidden(image_rec_ellipse, true); lv_obj_set_hidden(image_rec_ellipse, true);
lv_obj_set_click(image_rec_ellipse, false); lv_obj_set_click(image_rec_ellipse, false);
lv_obj_set_drag(image_rec_ellipse, false); lv_obj_set_drag(image_rec_ellipse, false);
lv_obj_set_pos(image_rec_ellipse, 0, 0); lv_obj_set_pos(image_rec_ellipse, 0, -5);
lv_obj_set_size(image_rec_ellipse, 38, 40); lv_obj_set_size(image_rec_ellipse, 38, 40);
lv_img_set_src(image_rec_ellipse, &sy_luzhi); lv_img_set_src(image_rec_ellipse, &sy_luzhi);
lv_obj_add_style(image_rec_ellipse, 0, &image_rec_ellipse_s0); lv_obj_add_style(image_rec_ellipse, 0, &image_rec_ellipse_s0);
@ -1840,7 +1840,7 @@ lv_obj_t* UIFlowMovie_create(){
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_line_s0, LV_STATE_DEFAULT, color); STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_line_s0, LV_STATE_DEFAULT, color);
STYLE_COLOR_PROP(0x03, 0xff, 0x00, 0x00) ; lv_style_set_text_color(&label_line_s0, LV_STATE_DEFAULT, color); STYLE_COLOR_PROP(0x03, 0xff, 0x00, 0x00) ; lv_style_set_text_color(&label_line_s0, LV_STATE_DEFAULT, color);
lv_style_set_text_opa(&label_line_s0,LV_STATE_DEFAULT,0); lv_style_set_text_opa(&label_line_s0,LV_STATE_DEFAULT,0);
lv_style_set_text_font(&label_line_s0,LV_STATE_DEFAULT,&lv_font_montserrat_16); lv_style_set_text_font(&label_line_s0,LV_STATE_DEFAULT,&sf_ui_text_medium_16_1bpp);
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_line_s0, LV_STATE_DEFAULT, color); STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_line_s0, LV_STATE_DEFAULT, color);
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_line_s0, LV_STATE_DEFAULT, color); STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_line_s0, LV_STATE_DEFAULT, color);
STYLE_COLOR_PROP(0x03, 0xff, 0x00, 0x00) ; lv_style_set_bg_color(&label_line_s0, LV_STATE_CHECKED, color); STYLE_COLOR_PROP(0x03, 0xff, 0x00, 0x00) ; lv_style_set_bg_color(&label_line_s0, LV_STATE_CHECKED, color);
@ -1889,7 +1889,7 @@ lv_obj_t* UIFlowMovie_create(){
lv_label_set_align(label_line, LV_LABEL_ALIGN_CENTER); lv_label_set_align(label_line, LV_LABEL_ALIGN_CENTER);
lv_label_set_long_mode(label_line, LV_LABEL_LONG_SROLL); lv_label_set_long_mode(label_line, LV_LABEL_LONG_SROLL);
lv_obj_set_pos(label_line, 0, 119); lv_obj_set_pos(label_line, 0, 119);
lv_obj_set_size(label_line, 320, 3); lv_obj_set_size(label_line, 320, 2);
lv_obj_add_style(label_line, 0, &label_line_s0); lv_obj_add_style(label_line, 0, &label_line_s0);
label_line_scr_uiflowmovie = label_line; label_line_scr_uiflowmovie = label_line;

View File

@ -2374,7 +2374,7 @@ lv_obj_t* UIFlowPhoto_create(){
lv_label_set_align(label_line, LV_LABEL_ALIGN_CENTER); lv_label_set_align(label_line, LV_LABEL_ALIGN_CENTER);
lv_label_set_long_mode(label_line, LV_LABEL_LONG_SROLL); lv_label_set_long_mode(label_line, LV_LABEL_LONG_SROLL);
lv_obj_set_pos(label_line, 0, 119); lv_obj_set_pos(label_line, 0, 119);
lv_obj_set_size(label_line, 320, 3); lv_obj_set_size(label_line, 320, 2);
lv_obj_add_style(label_line, 0, &label_line_s0); lv_obj_add_style(label_line, 0, &label_line_s0);
label_line_scr_uiflowphoto = label_line; label_line_scr_uiflowphoto = label_line;