在使用lvgl 8.35 时发现roller项过多,会导致显示异常,最终修改 lv_conf.h 中的宏为如下,异常消失,注意不要修改 LV_USE_LARGE_COORD
/*Extend the default -32k..32k coordinate range to -4M..4M by using int32_t for coordinates instead of int16_t*/
#define LV_USE_LARGE_COORD 0
#define LV_USE_ROLLER 1 /*Requires: lv_label*/
#if LV_USE_ROLLER
#define LV_ROLLER_INF_PAGES 3 /*Number of extra "pages" when the roller is infinite*/
#endif