What is the best possible solution to create a VU meter in SLS 1.3.0? I think LVGL does have a Meter function, but right now it does not seem to be implemented in SLS.
Hi,
A meter would be a really great candidate for it, but as you mentioned it not availalble in SLS yet.
As workaround you can create a Panel as a placeholder in SLS, and create the meter from code after calling ui_init(). E.g.
ui_init()
lv_obj_t * meter = lv_meter_create(ui_Panel_Placeholder);
Hi, are there plans to add ‘meter’ to SLS yet ? Just started to learn LVGL and it would be a real help to have this for my project. Thanks
I’m missing it too. Doing what was suggested by @kisvegabor here.
Will it be added to Vision?
Hi, the Meter widget was not included in SquareLine Studio because it is considered too specific and limited. You have complete freedom to create a much more impressive gauge yourself. Here is a concrete example of what you can achieve: https://www.youtube.com/watch?v=UtRhmmO45so
It will not be included in our next-gen editor (‘Vision’) either, because component support is coming soon. A key difference from Studio’s current component handling is that you will be able to attach your own custom code to these new components. This means you will be able to create practically anything.
Thanks for sharing it. I’ve already seen that video, but unfortunately it uses an image as the scale of the meter which
- requires a lot of flash
- static and inflexible
Well, I wonder what’s the point of an editor if I need to write code to create such a basic but complex widget as a scale or meter?
Anyways, I understand that it’s not on the roadmap and I will try to workaround it.
Hi, you’re right, creating a dynamically changing meter widget is currently harder in the studio than if there were a dedicated meter widget. Both cases have their advantages and disadvantages. As for the components extended with code in Vision, we are planning that the AI integration will provide enough support that it will be able to solve problems like these.