How can I create a gauge with needle?

What do you want to achieve?

I want to create a gauge with needle

What have you tried so far?

I tried to customize the Arc widget but still the needle issue how I can put it in the middle of the gauge.

Screenshot or video


  • SquareLine Studio version:
  • Operating system:
  • Target hardware:

The Meter (which is a gauge) widget of LVGL is not supported yet in SLS.

As a workarond you can create a Panel and create a Meter on it from from code after calling ui_init();. This way it won’t be overwritten by a new export. E.g.

lv_obj_t * meter1  = lv_meter_create(ui_Panel1);
1 Like