fix(docs) minor fixes
This commit is contained in:
@@ -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
|
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
|
```c
|
||||||
lv_obj_remove_style_all(obj)
|
lv_obj_remove_style_all(obj)
|
||||||
˙``
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
```c
|
```c
|
||||||
lv_obj_remove_style(obj, NULL, LV_PART_MAIN);
|
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:
|
For example:
|
||||||
```c
|
```c
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ You can set a left, right and center image, and the center image will be repeate
|
|||||||
### Image sources
|
### 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)`.
|
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`.
|
Any of the sources can `NULL`.
|
||||||
|
|
||||||
The possible states are:
|
The possible states are:
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ To assign the text area, use `lv_keyboard_set_textarea(kb, ta)`.
|
|||||||
|
|
||||||
### New Keymap
|
### 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)`.
|
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:
|
Keep in mind that, using following keywords will have the same effect as with the original map:
|
||||||
- `LV_SYMBOL_OK` Apply.
|
- `LV_SYMBOL_OK` Apply.
|
||||||
- `LV_SYMBOL_CLOSE` or `LV_SYMBOL_KEYBOARD` Close.
|
- `LV_SYMBOL_CLOSE` or `LV_SYMBOL_KEYBOARD` Close.
|
||||||
|
|||||||
@@ -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.
|
- `LV_PART_SCROLLBAR` The scrollbar. See the [Base objects](/widgets/obj) documentation for details.
|
||||||
|
|
||||||
**Buttons and Texts**
|
**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
|
## Usage
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ To create spinner use `lv_spinner_create(parent, spin_time, arc_length)`. `spin
|
|||||||
## Events
|
## Events
|
||||||
No special events are sent the the Spinner.
|
No special events are sent the the Spinner.
|
||||||
|
|
||||||
Learn more about [Events](/overview/events).
|
Learn more about [Events](/overview/event).
|
||||||
|
|
||||||
## Keys
|
## Keys
|
||||||
No *Keys* are processed by the object type.
|
No *Keys* are processed by the object type.
|
||||||
|
|||||||
Reference in New Issue
Block a user