Calendar control enhancements

Hi,
Can the calendar control add two buttons to quickly select the year?
like this:
calendar

1 Like

not a bad idea, what do you think @kisvegabor @embeddedt?
AFAIK it’s not easy-if not possible- to set a date by an encoder. If we do this, it can be possible too.

Hi,

the goal is to keep widgets simple still versatile. However, with complex widgets (e.g. calendar, msgbox, etc) it’s very difficult because there are a lot of options (e.g. in case of calendar dropdown for year and month, or arrows).

To manage this we will move these complex widgets in an lv_components repo in v8. Here there can be multiple types of a widget and we are less strict about the features. Contributing will be very welcome in this repo and I hope a lot of users will share their specific implementation for a widget.

So I suggest waiting for v8 and the new components repo and this feature there as a different calendar.

1 Like

So great, when will the ver 8 be released?
I need to set the date by calendar widget and encoder. Do we have any solution for it in ver 7? Should I wait for ver 8 to do this?

I hope still in this autumn.

I need to set the date by calendar widget and encoder. Do we have any solution for it in ver 7? Should I wait for ver 8 to do this?

You can trigger to LV_EVENT_KEY and handle it as you need.

1 Like