chore(label): fix typo and add some description to test align

This commit is contained in:
Gabor Kiss-Vamosi
2023-09-24 21:31:11 +02:00
committed by GitHub
parent eea960e76b
commit f0c58a1719

View File

@@ -101,7 +101,8 @@ the Label widget only allows manual text selection with
Text alignment
--------------
To horizontally align the lines of a label the `text_algin` style property can be used.
To horizontally align the lines of a label the `text_align` style property can be used with
:cpp:expr:`lv_obj_set_style_text_align()` or :cpp:expr:`lv_style_set_text_align()`
Note that it has a visible effect only if
- the label widget's width is larger than the width of the longest line of the text