Explorar el Código

add:默认开启LV_LABEL_LONG_TXT_HINT,改善长文本绘制速度

Dozingfiretruck hace 4 años
padre
commit
24f2c1c812
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      components/lvgl/lv_conf.h

+ 1 - 1
components/lvgl/lv_conf.h

@@ -687,7 +687,7 @@ typedef struct luat_lv_userdata lv_obj_user_data_t;
 #  define LV_LABEL_TEXT_SEL               0
 
 /*Store extra some info in labels (12 bytes) to speed up drawing of very long texts*/
-#  define LV_LABEL_LONG_TXT_HINT          0
+#  define LV_LABEL_LONG_TXT_HINT          1
 #endif
 
 /*LED (dependencies: -)*/