mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
docs(bar) fix default range
Related: https://github.com/lvgl/lvgl/pull/2845#issuecomment-981288322
This commit is contained in:
parent
1281abef9e
commit
eeee48b1c9
@ -22,7 +22,7 @@ Not only the end, but also the start value of the bar can be set, which changes
|
||||
### Value and range
|
||||
A new value can be set by `lv_bar_set_value(bar, new_value, LV_ANIM_ON/OFF)`.
|
||||
The value is interpreted in a range (minimum and maximum values) which can be modified with `lv_bar_set_range(bar, min, max)`.
|
||||
The default range is 1..100.
|
||||
The default range is 0..100.
|
||||
|
||||
The new value in `lv_bar_set_value` can be set with or without an animation depending on the last parameter (`LV_ANIM_ON/OFF`).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user