docs(details): fix typos (#7484)
Signed-off-by: bjsylvia <bjsylvia@163.com>
This commit is contained in:
@@ -92,7 +92,7 @@ Update mode
|
||||
Chart layers
|
||||
------------
|
||||
When a chart is drawn, certain things appear on top of other things, in this
|
||||
oder, from back to front:
|
||||
order, from back to front:
|
||||
|
||||
- The chart's background (with optional division lines)
|
||||
- Each data series:
|
||||
|
||||
@@ -44,7 +44,7 @@ Set a buffer
|
||||
------------
|
||||
|
||||
In order to render the animation a buffer needs to be assigned to the Lottie Widget.
|
||||
The animations are rendered in ARGB8888 format, therefor the buffer's size should be equal to
|
||||
The animations are rendered in ARGB8888 format, therefore the buffer's size should be equal to
|
||||
``target_width x target_height x 4`` bytes.
|
||||
|
||||
To keep the buffer size and the animation size consistent,
|
||||
|
||||
@@ -47,7 +47,7 @@ Once a Slider is created, it has:
|
||||
- default range of [0..100],
|
||||
- horizontal orientation, with
|
||||
- default width of approximately 2 inches (according to configured value of :c:macro:`LV_DPI_DEF`),
|
||||
- default hight of approximately 1/10 inch (according to configured value of :c:macro:`LV_DPI_DEF`).
|
||||
- default height of approximately 1/10 inch (according to configured value of :c:macro:`LV_DPI_DEF`).
|
||||
|
||||
To set different values use:
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ programmatically.
|
||||
Change orientation
|
||||
------------------
|
||||
|
||||
Swith a Switch is created, its default orientation is
|
||||
With a Switch is created, its default orientation is
|
||||
:cpp:enumerator:`LV_SWITCH_ORIENTATION_AUTO`, which causes it to be oriented based
|
||||
on ``width`` and ``height``. You can change this behavior using
|
||||
:cpp:expr:`lv_switch_set_orientation(widget, orientation)`. Possible values for
|
||||
|
||||
@@ -74,7 +74,7 @@ functions can be called in any order, any number of times.
|
||||
on the far right of the Header.
|
||||
|
||||
- :cpp:expr:`lv_win_add_button(win, icon, button_width)` adds a Button with the
|
||||
specified width that occupies the full hight of the Header (its parent). If
|
||||
specified width that occupies the full height of the Header (its parent). If
|
||||
``icon`` is not NULL, an image is created, centered on the button, using ``icon``
|
||||
as its image source. All valid image sources are supported, but a common source
|
||||
to use is one of the ``LV_SYMBOL_...`` macros, such as :c:macro:`LV_SYMBOL_CLOSE`
|
||||
|
||||
Reference in New Issue
Block a user