The Knob of arc is not moving as supposed with some parameters

What do you want to achieve?

Move a knob in a 120° arc.

What have you tried so far?

Rotate the arc and tried different values, found that some values are really problematic, while others do not allow you to move the knob.

Invalid values :
Bg start angle : 210
Bg end angle : 330

Valid values :
Bg start angle : 180
Bg end angle : 0

Screenshot or video

Others

  • SquareLine Studio version:
  • 1.6.0
  • Operating system:
  • Windows 10
  • Target hardware:
  • ESP32-S3-LCD-EV-BOARD

Hi, the Arc widget is unfortunately known to behave inconsistently with certain angle values. This is actually an LVGL-related issue rather than a SquareLine-specific one.

To make the arc work reliably, it is best to set the end angle to 0, set the start angle to the angle range you need, and then use the rotation property to place the arc in the correct position.

That way, the knob movement should work properly.

Thank you for this explicit answer that solve my issue ! :slightly_smiling_face:

As a 55 years experience coder, I know the issues when you design an application that use another group library that is defective…

I also noted other bugs like the Text Tabulation not working in the Labels and TextArea, but I wont bother you with them here.

Thanks again for the prompt answer.

Rej

1 Like