feat(examples): fix examples and add new scroll examples
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user