From 26366ad2796adc819b48c29ebe1fd0c9ec0daa3d Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Sat, 15 May 2021 21:12:06 +0200 Subject: [PATCH] docs(style) fix typos --- docs/overview/style.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/overview/style.md b/docs/overview/style.md index 18d2f92e0..f50ce9a88 100644 --- a/docs/overview/style.md +++ b/docs/overview/style.md @@ -177,9 +177,9 @@ lv_obj_add_style(btn, &btn_red, LV_STATE_PRESSED);  /*Overwrite only a some col ``` ### Remove styles -To remove all styles from an object use `lv_obj_reove_style_all(obj)`. +To remove all styles from an object use `lv_obj_remove_style_all(obj)`. -To remove specific styles use `lv_obj_remoev_style(obj, style, selector)`. This function will remove `style` only if the `selector` matches with the `selector` used in `lv_obj_add_style`. +To remove specific styles use `lv_obj_remove_style(obj, style, selector)`. This function will remove `style` only if the `selector` matches with the `selector` used in `lv_obj_add_style`. `style` can be `NULL` to check only the `selector` and remove all matching styles. The `selector` can use the `LV_STATE_ANY` and `LV_PART_ANY` values to remove the style with any state or part.