refactor(tabview): make it use with buttons instead of button matrix

This commit is contained in:
Gabor Kiss-Vamosi
2023-11-15 22:25:39 +01:00
parent d90363a8e9
commit 43a231cf5a
16 changed files with 238 additions and 204 deletions

View File

@@ -14,6 +14,7 @@ void lv_example_slider_1(void)
lv_obj_center(slider);
lv_obj_add_event(slider, slider_event_cb, LV_EVENT_VALUE_CHANGED, NULL);
lv_obj_set_style_anim_time(slider, 2000, 0);
/*Create a label below the slider*/
slider_label = lv_label_create(lv_screen_active());
lv_label_set_text(slider_label, "0%");