From d3022648dc6e5c48696daaba87cffeb7d9187a9f Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Mon, 31 May 2021 19:42:53 +0200 Subject: [PATCH] fix(docs) minor fixes --- docs/overview/coords.md | 5 +++-- docs/widgets/extra/imgbtn.md | 2 +- docs/widgets/extra/keyboard.md | 2 +- docs/widgets/extra/list.md | 2 +- docs/widgets/extra/spinner.md | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/overview/coords.md b/docs/overview/coords.md index 267332cae6..2a17c6fde6 100644 --- a/docs/overview/coords.md +++ b/docs/overview/coords.md @@ -52,12 +52,13 @@ To be more precise under the hood every style coordinate related property is sto It's an internal mechanism and doesn't matter much as you use LVGL. However, there is one case in which you need to aware of that. If the style(s) of an object are removed by ```c lv_obj_remove_style_all(obj) -˙`` +``` + or ```c lv_obj_remove_style(obj, NULL, LV_PART_MAIN); ``` -The earlier set coordinates will be removed as well. +the earlier set coordinates will be removed as well. For example: ```c diff --git a/docs/widgets/extra/imgbtn.md b/docs/widgets/extra/imgbtn.md index 5084fd66de..0a9c089908 100644 --- a/docs/widgets/extra/imgbtn.md +++ b/docs/widgets/extra/imgbtn.md @@ -20,7 +20,7 @@ You can set a left, right and center image, and the center image will be repeate ### Image sources To set the image in a state, use the `lv_imgbtn_set_src(imgbtn, LV_IMGBTN_STATE_..., src_left, src_center, src_right)`. -The image sources works the same as described in the [Image object](/widgets/coreimg) except that, "Symbols" are not supported by the Image button. +The image sources works the same as described in the [Image object](/widgets/core/img) except that, "Symbols" are not supported by the Image button. Any of the sources can `NULL`. The possible states are: diff --git a/docs/widgets/extra/keyboard.md b/docs/widgets/extra/keyboard.md index 25337a068e..d1a6488574 100644 --- a/docs/widgets/extra/keyboard.md +++ b/docs/widgets/extra/keyboard.md @@ -35,7 +35,7 @@ To assign the text area, use `lv_keyboard_set_textarea(kb, ta)`. ### New Keymap You can specify a new map (layout) for the keyboard with `lv_keyboard_set_map(kb, map)` and `lv_keyboard_set_ctrl_map(kb, ctrl_map)`. -Learn more about the [Button matrix](/widgets/btnmatrix) object. +Learn more about the [Button matrix](/widgets/core/btnmatrix) object. Keep in mind that, using following keywords will have the same effect as with the original map: - `LV_SYMBOL_OK` Apply. - `LV_SYMBOL_CLOSE` or `LV_SYMBOL_KEYBOARD` Close. diff --git a/docs/widgets/extra/list.md b/docs/widgets/extra/list.md index b69c932f4f..b749d075e3 100644 --- a/docs/widgets/extra/list.md +++ b/docs/widgets/extra/list.md @@ -14,7 +14,7 @@ The List is basically a rectangle with vertical layout to which Buttons and Text - `LV_PART_SCROLLBAR` The scrollbar. See the [Base objects](/widgets/obj) documentation for details. **Buttons and Texts** -See the [/widgets/core/btn](Button)'s and [/widgets/core/label](Label)'s documentation. +See the [Button](/widgets/core/btn)'s and [Label](/widgets/core/label)'s documentation. ## Usage diff --git a/docs/widgets/extra/spinner.md b/docs/widgets/extra/spinner.md index 380ed77908..1175226e13 100644 --- a/docs/widgets/extra/spinner.md +++ b/docs/widgets/extra/spinner.md @@ -19,7 +19,7 @@ To create spinner use `lv_spinner_create(parent, spin_time, arc_length)`. `spin ## Events No special events are sent the the Spinner. -Learn more about [Events](/overview/events). +Learn more about [Events](/overview/event). ## Keys No *Keys* are processed by the object type.