How to set the orientation of the meter growth?

Description

What MCU/Processor/Board and compiler are you using?

ST32F4

What LVGL version are you using?

7.0.1

What do you want to achieve?

How to Set the orientation of the meter growth?
I use the function
lv_linemeter_set_mirror(linemeter, true);
I changed parameter 2 to true or false But nothing different

The code block(s) should be formatted like:

  linemeter = lv_linemeter_create(par, nullptr);
  lv_obj_set_pos(linemeter, 81, 80);
  lv_obj_set_size(linemeter, 160, 160);
  lv_linemeter_set_range(linemeter, 0, 150);                   /*Set the range*/
  lv_linemeter_set_value(linemeter, 150);                       /*Set the current value*/
  lv_linemeter_set_scale(linemeter, 120, 11);                  /*Set the angle and number of lines*/
  lv_linemeter_set_mirror(linemeter, true);

Hi @ RanBiron,

I have looked at the code and it seems this feature has somehow gotten lost as it was originally added here. I’m not sure what has happened the set/get functions are correct and present but the code to do the drawing part appears to be missing? It may have happened in the transition from V6 to V7? What do you think @kisvegabor & @embeddedt?

Kind Regards,

Pete

Hi,

It really strange. Probably it was accidentally removed during merging branches.

Anyway, I added it back in master,