LVGL 设置透明,字体模糊、滑动滑块最后变成一团色块

  1. 打开LVGL透明显示
  2. 字体显示模糊,滑动滑块时最后变成一团色块,请教下怎么修改可以避免这种情况
    lv_obj_t *slider_test = lv_slider_create(bg_layer);
    lv_obj_set_style_opa(bg_layer, LV_OPA_100, 0);
    lv_obj_center(slider_test);

    static lv_style_t style_label;
    lv_style_init(&style_label);
    lv_style_set_radius(&style_label, 0);
    lv_style_set_bg_opa(&style_label, LV_OPA_COVER);
    lv_style_set_bg_color(&style_label, lv_color_hex(0x0000ff));

   lv_obj_t *label_time_stamp = lv_label_create(lv_scr_act());
   lv_obj_add_style(label_time_stamp, &style_label, 0);
   //lv_obj_set_style_opa(label_time_stamp, LV_OPA_COVER, 0);
  lv_label_set_text(label_time_stamp , "2023/06/29 18:25:45");
  lv_obj_align(label_time_stamp , LV_ALIGN_BOTTOM_MID, 0, -10);
  
 lv_obj_t * ltr_label = lv_label_create(lv_scr_act());
  lv_label_set_text(ltr_label, "In modern terminology, a microcontroller is similar to a system on a chip (SoC).");
    lv_obj_set_style_text_font(ltr_label, &lv_font_montserrat_16, 0);
    lv_obj_set_width(ltr_label, 310);
    lv_obj_align(ltr_label, LV_ALIGN_TOP_MID, 5, 5);

image
image

设置不透明度,使用 lv_obj_set_style_opa 即可, 完全透明:LV_OPA_0, 完全不透明:LV_OPA_100

image
这个问题,换成8.3版本就可以,之前是8.1

字体,如果有背景色可以没有,透明背景不知道怎么处理