diff --git a/docs/widgets/label.rst b/docs/widgets/label.rst index acc88d787..c7e5875ef 100644 --- a/docs/widgets/label.rst +++ b/docs/widgets/label.rst @@ -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