With SLS and LVGL in general, is it practical to create a UI where widgets/components can be customized by the user? Style is one aspect, but allowing the user to resize and drag a widget to a new location, or change what the widget displays, seems unlikely.
I suppose within LVGL, if you created and controlled the actual C code, it could be done.
SLS seems all about fairly static display layouts and just not suited to this. Yet, people have grown accustomed to this level of functionality on smartphones.
Hi, if you’re looking for responsive behavior for your widgets, you can use flex layout for dynamic arrangement.
For cases where you want screen or parent widget children to reposition or resize at certain dimensions, you can achieve this by setting up a user state that controls the position and size of the widget you want to move using the style settings’ transform parameters. Then in your code, you just need to specify when the widget should change to the user style.
Unfortunately, there isn’t currently another solution for more complex responsive behavior in SLS.