I have some scrollable labels in my UI, I would like to reset the scrolling to the start when (1) I change the screen and come back (2) when I have reached the end of the scrollable label.
Can I do this in Squareline directly?
I have some scrollable labels in my UI, I would like to reset the scrolling to the start when (1) I change the screen and come back (2) when I have reached the end of the scrollable label.
Can I do this in Squareline directly?
In LVGL you could call lv_label_set_text(label, NULL)
.
In SLS you can set the text again in an SCREEN_LOAD event, but it’s quite ugly.
I suggest adding a Call function action to the SCREEN_LOAD_START event and call lv_label_set_text(label, NULL)
in it manually.