How to make the height of the selected area of the roller obj larger

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

The scroll wheel area requires the use of relatively large fonts, but the space in the selected part of the scroll wheel is too small to display all the fonts. How to solve this problem

What MCU/Processor/Board and compiler are you using?

Simulator

What LVGL version are you using?

8.3.3

What do you want to achieve?

87a8084c41c89009f2e6b80eb6dcaef
display the text by roller

What have you tried so far?

use lv_obj_set_style_height(roller, 88, LV_PART_SELECTED | LV_STATE_ANY);

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*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

make MAIN_PART font size larger to solve this question

You can set the line_height of the main part larger.