diff --git a/examples/widgets/btnmatrix/index.rst b/examples/widgets/btnmatrix/index.rst index 36b0171ce..99be9852b 100644 --- a/examples/widgets/btnmatrix/index.rst +++ b/examples/widgets/btnmatrix/index.rst @@ -11,14 +11,14 @@ Simple Button matrix Custom buttons """""""""""""""""""""" -.. lv_example:: widgets/btnmatrix/lv_example_btnmatrix_1 +.. lv_example:: widgets/btnmatrix/lv_example_btnmatrix_2 :language: c Pagination """""""""""""""""""""" -.. lv_example:: widgets/btnmatrix/lv_example_btnmatrix_1 +.. lv_example:: widgets/btnmatrix/lv_example_btnmatrix_3 :language: c diff --git a/examples/widgets/dropdown/lv_example_dropdown_3.c b/examples/widgets/dropdown/lv_example_dropdown_3.c index 5010f1fd1..7984cc4d2 100644 --- a/examples/widgets/dropdown/lv_example_dropdown_3.c +++ b/examples/widgets/dropdown/lv_example_dropdown_3.c @@ -30,7 +30,7 @@ void lv_example_dropdown_3(void) /*Use a custom image as down icon and flip it when the list is opened*/ LV_IMG_DECLARE(img_caret_down) lv_dropdown_set_symbol(dropdown, &img_caret_down); - lv_obj_set_style_transform_angle(dropdown, 1800, LV_STATE_CHECKED); + lv_obj_set_style_transform_angle(dropdown, 1800, LV_PART_INDICATOR | LV_STATE_CHECKED); /*In a menu we don't need to show the last clicked item*/ lv_dropdown_set_selected_highlight(dropdown, false);