Important: unclear posts may not receive useful answers.
Before posting
- Get familiar with Markdown to format and structure your post
- Be sure to update lvgl from the latest version from the
master
branch.- Be sure you have checked the FAQ and read the relevant part of the documentation.
- If applicable use the Simulator to eliminate hardware related issues.
Delete this section if you read and applied the mentioned points.
Description
In roller, LV_ ROLLER_ PART_ SELECTED and LV_ ROLLER_ PART_ BG has chosen different fonts. Is there a way to achieve the effect of moving in and out for zooming in and out
What MCU/Processor/Board and compiler are you using?
What LVGL version are you using?
What do you want to achieve?
In roller, LV_ ROLLER_ PART_ SELECTED and LV_ ROLLER_ PART_ BG has chosen different fonts. Is there a way to achieve the effect of moving in and out for zooming in and out
What have you tried so far?
Code to reproduce
Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.
The code block(s) should be formatted like:
/*You code here*/
lv_ext_set_local_text_font(p_breath_setspeed->speed_roller, LV_ROLLER_PART_BG,LV_STATE_DEFAULT, (lv_font_t *)LV_EXT_FONT_GET(FONT_HUGE));
lv_ext_set_local_text_font(p_breath_setspeed->speed_roller, LV_ROLLER_PART_SELECTED,LV_STATE_DEFAULT, (lv_font_t *)LV_EXT_FONT_GET(FONT_SPORT_52));
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.