Lines Matching refs:text
4 A label is the basic object type that is used to display text.
7 …ypical background properties and the text properties. The padding values can be used to add space…
8 - `LV_PART_SCROLLBAR` The scrollbar that is shown when the text is larger than the widget's size.
9 - `LV_PART_SELECTED` Tells the style of the [selected text](#text-selection). Only `text_color` and…
13 ### Set text
14 You can set the text on a label at runtime with `lv_label_set_text(label, "New text")`.
16 Therefore, you don't need to keep the text you pass to `lv_label_set_text` in scope after that func…
18 With `lv_label_set_text_fmt(label, "Value: %d", 15)` printf formatting can be used to set the text.
20 Labels are able to show text from a static character buffer. To do so, use `lv_label_set_text_stat…
21 In this case, the text is not stored in the dynamic memory and the given buffer is used directly in…
30 … to `LV_SIZE_CONTENT`. Therefore, the size of the label is automatically expanded to the text size.
32 Similarly, the policies can be applied if the height of the text is greater than the height of the …
33 …t is `LV_SIZE_CONTENT` the label's height will be expanded, otherwise the text will be clipped. (D…
35 - `LV_LABEL_LONG_SCROLL` If the text is wider than the label scroll it horizontally back and forth.…
36 - `LV_LABEL_LONG_SCROLL_CIRCULAR` If the text is wider than the label scroll it horizontally contin…
37 - `LV_LABEL_LONG_CLIP` Simply clip the parts of the text outside the label.
41 Note that `LV_LABEL_LONG_DOT` manipulates the text buffer in-place in order to add/remove the dots.
46 In the text, you can use commands to recolor parts of the text. For example: `"Write a #ff0000 red#…
48 recoloring is only supported when the text wrapped with `##ff0000 ... #`sintax is in one line,
49 it is not supported in wrapped text, see example `Line wrap, recoloring and scrolling`.
52 …ABEL_TEXT_SELECTION` part of the text can be selected. It's similar to when you use your mouse on …
53 …lect the text as you drag your finger/mouse) is implemented in [Text area](/widgets/core/textarea)…