Roller widget infinity bug

What do you want to achieve?

Roller without garbled screen :wink:

What have you tried so far?

Added an infinite Roller with Option: 00…59

void loop() {
  static uint16_t s = 59;
  lv_timer_handler(); /* let the GUI do its work */
  lv_roller_set_selected(ui_FTSRoller, s, LV_ANIM_ON);
  lv_refr_now(NULL);
  if (s == 0)
    s = 59;
  else
    s--;
  delay(1000);
}

Screenshot or video

Others

  • SquareLine Studio version: v1.3.1
  • Operating system: Linux
  • Target hardware: ESP32, DGC9A01 Display

Hello, if I recall correctly, this has to do with a setting in the LV_CONF.h file.

Try setting the option LV_USE_LARGE_COORD to 1.

1 Like

Thanks. That worked.