Check if label would be scrolling


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

Custom board with a STM32H753 MCU

What LVGL version are you using?

Latest v8.3 release

What do you want to achieve?

I have a GUI with multiple labels; in some instances some of them can display a string which is too long, but I’d like to have only one of them scrolling at any time. Is there a way to check if a label would be scrolling given the content?

What have you tried so far?

I tried checking for the LV_STATE_SCROLLED state but if I’m understanding correctly it’s for scrollbars and not for label scrolling.