feat(examples): fix examples and add new scroll examples

This commit is contained in:
Gabor Kiss-Vamosi
2021-02-23 11:31:10 +01:00
parent 1442a0f8bc
commit 00b1c80d3c
7 changed files with 156 additions and 4 deletions

View File

@@ -21,8 +21,9 @@ void lv_example_slider_3(void)
/*Now use only a local style.*/
lv_obj_set_style_content_ofs_y(slider, LV_PART_INDICATOR, LV_STATE_DEFAULT, -20);
lv_obj_set_style_content_color(slider, LV_PART_INDICATOR, LV_STATE_DEFAULT, LV_COLOR_GRAY);
/*To update the avlue text*/
/*To update the value text*/
lv_event_send(slider, LV_EVENT_VALUE_CHANGED, NULL);
}