# lv_label_private.h (/api/private/widgets/label/lv_label_private_h)



<RelatedHeaders name="lv_label.h" isPrivate="true" />

<ApiSummary structs="1" />

Structs [#structs]

<ApiMember kind="struct" name="_lv_label_t">
  \_lv_label_t [#_lv_label_t]

  | Member               | Type                                    | Description                                                                |
  | -------------------- | --------------------------------------- | -------------------------------------------------------------------------- |
  | `obj`                | <ApiLink name="lv_obj_t" />             |                                                                            |
  | `text`               | `char *`                                |                                                                            |
  | `translation_tag`    | `char *`                                |                                                                            |
  | `dot`                | `char[3+1]`                             | Bytes that have been replaced with dots                                    |
  | `dot_begin`          | `uint32_t`                              | Offset where bytes have been replaced with dots                            |
  | `max_lines`          | `int32_t`                               |                                                                            |
  | `hint`               | <ApiLink name="lv_draw_label_hint_t" /> |                                                                            |
  | `sel_start`          | `uint32_t`                              |                                                                            |
  | `sel_end`            | `uint32_t`                              |                                                                            |
  | `size_cache`         | <ApiLink name="lv_point_t" />           | Text size cache                                                            |
  | `offset`             | <ApiLink name="lv_point_t" />           | Text draw position offset                                                  |
  | `long_mode`          | <ApiLink name="lv_label_long_mode_t" /> | Determine what to do with the long texts                                   |
  | `static_txt`         | `uint8_t`                               | Flag to indicate the text is static                                        |
  | `recolor`            | `uint8_t`                               | Enable in-line letter re-coloring                                          |
  | `expand`             | `uint8_t`                               | Ignore real width (used by the library with LV\_LABEL\_LONG\_MODE\_SCROLL) |
  | `invalid_size_cache` | `uint8_t`                               | 1: Recalculate size and update cache                                       |
  | `need_refr_text`     | `uint8_t`                               | 1: Refresh text after layout update completion                             |
  | `text_size`          | <ApiLink name="lv_point_t" />           |                                                                            |
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_draw_label_private.h&#x22;, &#x22;lv_obj_private.h&#x22;, &#x22;lvgl_public.h&#x22;]" includedBy="[&#x22;lvgl_private.h&#x22;]" transitiveIncludes="[&#x22;lv_array.h&#x22;, &#x22;lv_event_private.h&#x22;]" />
