March 17, 2021, 10:01am
What MCU/Processor/Board and compiler are you using?
WT32-SC01, so more or less a ESP32
What LVGL version are you using?
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
March 17, 2021, 10:07am
change size x to y and y to x is not an option?
March 17, 2021, 10:14am
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.
March 17, 2021, 10:21am
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).
March 17, 2021, 1:05pm
maybe custom implement of button+line. in button cb if checked -> change its position if it is nearby line coordinates?