Lines Matching refs:text
11 A Label is the Widget used to display text.
20 text properties. Padding values can be used to add space between
21 the text and the edges of the Label's background.
22 - :cpp:enumerator:`LV_PART_SCROLLBAR` The scrollbar that is shown when the text is
25 :ref:`selected text <lv_label_text_selection>`. Only ``text_color`` and ``bg_color`` style
34 Set text
37 You can set the text on a Label at runtime with
38 :cpp:expr:`lv_label_set_text(label, "New text")`. This will allocate a buffer
40 Therefore, you don't need to keep the text you pass to
44 can be used to set the text. Example: :cpp:expr:`lv_label_set_text_fmt(label, "Value: %d", 15)`.
46 Labels are able to show text from a static character buffer as well. To do so, use
47 :cpp:expr:`lv_label_set_text_static(label, "Text")`. In this case, the text is not
95 to the text size + padding + border width. Otherwise, if the width or height are
99 of the text is greater than the height of the Label.
102 height will be expanded, otherwise the text will be clipped. (Default)
104 - :cpp:enumerator:`LV_LABEL_LONG_SCROLL` If the text is wider than the label, scroll it horizontall…
106 - :cpp:enumerator:`LV_LABEL_LONG_SCROLL_CIRCULAR` If the text is wider than the Label, scroll it ho…
108 - :cpp:enumerator:`LV_LABEL_LONG_CLIP` Simply clip the parts of the text outside the Label.
112 Note that :cpp:enumerator:`LV_LABEL_LONG_DOT` manipulates the text buffer in-place in
125 In the text, you can use commands to recolor parts of the text.
128 function. In the context of word-wrapped text, any Recoloring started on a
130 was not already terminated by an ending ``#`` in the text.
137 If enabled by :c:macro:`LV_LABEL_TEXT_SELECTION` part of the text can be
139 text. The whole mechanism (click and select the text as you drag your
141 the Label Widget only allows programmatic text selection with
155 - the Label Widget's width is larger than the width of the longest line of text, and
156 - the text has multiple lines with different line lengths.
160 Very long text