# lv_span_private.h (/api/private/widgets/span/lv_span_private_h)



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

<ApiSummary structs="2" />

Structs [#structs]

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

  | Member            | Type                          | Description               |
  | ----------------- | ----------------------------- | ------------------------- |
  | `txt`             | `char *`                      | a pointer to display text |
  | `style`           | <ApiLink name="lv_style_t" /> | display text style        |
  | `static_flag`     | `uint32_t`                    | the text is static flag   |
  | `trailing_pos`    | <ApiLink name="lv_point_t" /> |                           |
  | `trailing_height` | `int32_t`                     |                           |
</ApiMember>

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

  Data of label

  | Member     | Type                        | Description                                      |
  | ---------- | --------------------------- | ------------------------------------------------ |
  | `obj`      | <ApiLink name="lv_obj_t" /> |                                                  |
  | `lines`    | `int32_t`                   |                                                  |
  | `indent`   | `int32_t`                   | first line indent                                |
  | `cache_w`  | `int32_t`                   | the cache automatically calculates the width     |
  | `cache_h`  | `int32_t`                   | similar cache\_w                                 |
  | `child_ll` | <ApiLink name="lv_ll_t" />  |                                                  |
  | `overflow` | `uint32_t`                  | details see lv\_span\_overflow\_t                |
  | `refresh`  | `uint32_t`                  | the spangroup need refresh cache\_w and cache\_h |
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#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;]" />
