lvgl 创建panel后,在panel里创建image,image为什么可滑动啊?

lvgl 创建panel后,在panel里创建image,image为什么可滑动啊?该怎么设置image不能滑动?



lv_obj_clear_flag(panel, LV_OBJ_FLAG_SCROLLABLE);

lv_obj_clear_flag(img, LV_OBJ_FLAG_SCROLLABLE);

参考阅读: http://lvgl.100ask.net/8.2/widgets/obj.html?highlight=lv_obj_add_flag#flags

感谢老师 :smiling_face_with_three_hearts:!!!!!!!!!!!