Rotate widgets by certain degrees


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

WT32-SC01, so more or less a ESP32

What LVGL version are you using?

v 7.10

What do you want to achieve?

I want to rotate widgets, e.g. I want to rotate a slider widget by 90 degrees, but I wasn’t able to find anything related to this. Is this even possible with lvgl?

What have you tried so far?

Looking through the forum and documentation

change size x to y and y to x is not an option?

Thanks for your quick reply!

This would be indeed an option if I only want to change from horizontally to vertically, but in my case I actually would like to display the sliders in various rotations by different degrees, basically as shown in this quick mock-up.

oh i just misunderstand u, because u said

I want to rotate a slider widget by 90 degrees

Unfortunately this is not very easy to pull off, as LVGL doesn’t support rotating widgets, and the slider cannot display in 45-degree increments (only horizontally and vertically).

maybe custom implement of button+line. in button cb if checked -> change its position if it is nearby line coordinates?