LVGL v7.2 is released with features like screen transition animations, easy theme extension support, and many other enhancements.
New Features#
Screen Transitions#
Add screen transitions with lv_scr_load_anim() to create smooth animated transitions between screens.
Display Background Customization#
Add display background color, wallpaper, and opacity. Shown when the screen is transparent. Can be used with lv_disp_set_bg_opa(), lv_disp_set_bg_color(), and lv_disp_set_bg_image().
Calendar Enhancements#
Add LV_CALENDAR_WEEK_STARTS_MONDAY configuration option for localized calendar displays.
Chart Improvements#
New chart functions for advanced data visualization:
lv_chart_set_x_start_point()- Set the index of the x-axis start point in the data arraylv_chart_set_ext_array()- Set an external array of data points to use for the chartlv_chart_set_point_id()- Set an individual point value in the chart series directly based on indexlv_chart_get_x_start_point()- Get the current index of the x-axis start point in the data arraylv_chart_get_point_id()- Get an individual point value in the chart series directly based on indexlv_chart_set_series_axis()- Assign series to primary or secondary axislv_chart_set_y_range()- Allow setting range of secondary y-axis
Add ext_buf_assigned bit field to lv_chart_series_t structure - it's true if external buffer is assigned to series.
Roller Customization#
Allow setting different font for the selected text in lv_roller widget.
Theme System Improvements#
- Add
theme->apply_cbto replacetheme->apply_xcbto make it compatible with the MicroPython binding - Add
lv_theme_set_base()to allow easy extension of built-in (or any) themes
Alignment Functions#
Add new alignment helper functions:
lv_obj_align_x()andlv_obj_align_y()- Align objects on a single axislv_obj_align_origo_x()andlv_obj_align_origo_y()- Align object origin on a single axis
Bug Fixes#
- Fix
tileviewnavigation when not screen sized - Use 14px font by default for better compatibility with smaller displays
- Fix
linemeterconversion of current value to "level" - Fix drawing on right border
- Set the cursor image non-clickable by default
- Improve mono theme when used with keyboard or encoder
