Rotation of objects

What do you want to achieve?

In LVGL all object (mostly I think, correct me if I wrong) could be rotate using
“lv_obj_set_style_transform_angle”
But most of the widget in Squareline dont have this option/setting

Do you see alternative options and workaround to achieve it?

After exporting the UI code, mannually add code to rotate it. (which is problematic as we need to adjust several times back and forth. Also not friendly to have version control)

Mention some use cases

Anytime a widget is needed to rotate for a certain angle (not 90 degree)

Hi, you can rotate any widget in SquareLine Studio by using the Style section in the Inspector tab. Look for the “Transform” group, and then adjust the “Transform Rotation” value to rotate your widget to any angle you need.

1 Like

Oh missed that tab. Thanks for the reply!