docs: fix misc typos throughout (#4413)
Signed-off-by: Chris Ring <c-ring@ti.com>
This commit is contained in:
@@ -101,7 +101,7 @@ that point, column, or line segment.
|
||||
|
||||
For :cpp:enumerator:`LV_CHART_TYPE_SCATTER` type
|
||||
:cpp:expr:`lv_chart_set_value_by_id2(chart, ser, id, value)` and
|
||||
:cpp:expr:`lv_chart_set_next_value2(chart, ser, x_valuem y_value)` can be used
|
||||
:cpp:expr:`lv_chart_set_next_value2(chart, ser, x_value, y_value)` can be used
|
||||
as well.
|
||||
|
||||
Update modes
|
||||
|
||||
@@ -42,7 +42,7 @@ common state add/clear function:
|
||||
|
||||
.. code:: c
|
||||
|
||||
lv_obj_add_state(cb, LV_STATE_CHECKED); /*Make the chekbox checked*/
|
||||
lv_obj_add_state(cb, LV_STATE_CHECKED); /*Make the checkbox checked*/
|
||||
lv_obj_clear_state(cb, LV_STATE_CHECKED); /*MAke the checkbox unchecked*/
|
||||
lv_obj_add_state(cb, LV_STATE_CHECKED | LV_STATE_DISABLED); /*Make the checkbox checked and disabled*/
|
||||
|
||||
|
||||
@@ -66,12 +66,12 @@ New Keymap
|
||||
You can specify a new map (layout) for the keyboard with
|
||||
:cpp:expr:`lv_keyboard_set_map(kb, LV_KEYBOARD_MODE_..., kb_map, kb_ctrl)`. See
|
||||
the `Button matrix </widgets/btnmatrix>`__ for more information about
|
||||
creating new maps a ctrls.
|
||||
creating new maps and ctrls.
|
||||
|
||||
Keep in mind that using following keywords will have the same effect as
|
||||
with the original map:
|
||||
|
||||
- :c:macro:`LV_SYMBOL_OK` Send ``LV_EVENT_RADY`` to the assigned Text area.
|
||||
- :c:macro:`LV_SYMBOL_OK` Send ``LV_EVENT_READY`` to the assigned Text area.
|
||||
- :c:macro:`LV_SYMBOL_CLOSE` or :c:macro:`LV_SYMBOL_KEYBOARD` Send :cpp:enumerator:`LV_EVENT_CANCEL` to the assigned Text area.
|
||||
- :c:macro:`LV_SYMBOL_BACKSPACE` Delete on the left.
|
||||
- :c:macro:`LV_SYMBOL_LEFT` Move the cursor left.
|
||||
|
||||
@@ -29,7 +29,7 @@ Scale
|
||||
The Scale has minor and major ticks, and labels on the major ticks.
|
||||
|
||||
The minor tick lines can be configured with:
|
||||
:cpp:expr:`lv_meter_set_scale_ticks(meter, tick_count, line_width, tick_length, ctick_olor)`.
|
||||
:cpp:expr:`lv_meter_set_scale_ticks(meter, tick_count, line_width, tick_length, tick_color)`.
|
||||
|
||||
To show major tick lines use
|
||||
:cpp:expr:`lv_meter_set_scale_major_ticks(meter, nth_major, tick_width, tick_length, tick_color, label_gap)`.
|
||||
@@ -70,7 +70,7 @@ needle pointing to the right like this ``-O--->``. ``pivot_x`` and
|
||||
``pivot_y`` sets the pivot point of the rotation relative to the top
|
||||
left corner of the image.
|
||||
|
||||
:cpp:expr:`lv_meter_set_indicator_value(meter, inidicator, value)` sets the
|
||||
:cpp:expr:`lv_meter_set_indicator_value(meter, indicator, value)` sets the
|
||||
value of the indicator.
|
||||
|
||||
Arc
|
||||
@@ -81,7 +81,7 @@ and arc indicator. . By default, the radius of the arc is the same as
|
||||
the scale's radius but ``r_mod`` changes the radius.
|
||||
|
||||
:cpp:expr:`lv_meter_set_indicator_start_value(meter, indic, value)` and
|
||||
:cpp:expr:`lv_meter_set_indicator_end_value(meter, inidicator, value)` sets the
|
||||
:cpp:expr:`lv_meter_set_indicator_end_value(meter, indicator, value)` sets the
|
||||
value of the indicator.
|
||||
|
||||
Scale lines (ticks)
|
||||
@@ -96,8 +96,8 @@ start and end value of the scale and only a "slice" of that color
|
||||
gradient will be visible in the indicator's start and end value range.
|
||||
``width_mod`` modifies the width of the tick lines.
|
||||
|
||||
:cpp:expr:`lv_meter_set_indicator_start_value(meter, inidicator, value)` and
|
||||
:cpp:expr:`lv_meter_set_indicator_end_value(meter, inidicator, value)` sets the
|
||||
:cpp:expr:`lv_meter_set_indicator_start_value(meter, indicator, value)` and
|
||||
:cpp:expr:`lv_meter_set_indicator_end_value(meter, indicator, value)` sets the
|
||||
value of the indicator.
|
||||
|
||||
Events
|
||||
|
||||
@@ -61,7 +61,7 @@ will shift the object by 10;20 px from the center of its parent:
|
||||
lv_obj_align(obj, LV_ALIGN_CENTER, 10, 20);
|
||||
|
||||
To align one object to another use:
|
||||
:cpp:expr:`lv_obj_align_to(obj_to_align, obj_referece, LV_ALIGN_..., x, y)`
|
||||
:cpp:expr:`lv_obj_align_to(obj_to_align, obj_reference, LV_ALIGN_..., x, y)`
|
||||
|
||||
For example, to align a text below an image:
|
||||
:cpp:expr:`lv_obj_align_to(text, image, LV_ALIGN_OUT_BOTTOM_MID, 0, 10)`.
|
||||
|
||||
@@ -22,7 +22,7 @@ Parts and Styles
|
||||
****************
|
||||
|
||||
There are no special parts on the Tab view but the ``lv_obj`` and
|
||||
``lv_btnnmatrix`` widgets are used to create the Tab view.
|
||||
``lv_btnmatrix`` widgets are used to create the Tab view.
|
||||
|
||||
Usage
|
||||
*****
|
||||
|
||||
@@ -39,7 +39,7 @@ Change tile
|
||||
|
||||
The Tile view can scroll to a tile with
|
||||
:cpp:expr:`lv_obj_set_tile(tileview, tile_obj, LV_ANIM_ON/OFF)` or
|
||||
:cpp:expr:`lv_obj_set_tile_id(tileviewv, col_id, row_id, LV_ANIM_ON/OFF)`
|
||||
:cpp:expr:`lv_obj_set_tile_id(tileview, col_id, row_id, LV_ANIM_ON/OFF)`
|
||||
|
||||
Events
|
||||
******
|
||||
|
||||
Reference in New Issue
Block a user