Label

../_images/label-preview.png

Widget description

Widget to display text, with simple html-like markup.

The Label widget doesn’t allow text to overflow its boundaries, if the text doesn’t fit the geometry of the label it will be ellipsized or be cut.

Available styles

default

The default style

default/left

Left aligned label (since 1.18)

default/right

Right aligned label (since 1.18)

marker

Centers the text in the label and makes it bold by default

marker/left

Like marker but left aligned (since 1.18)

marker/right

Like marker but right aligned (since 1.18)

slide_long

The entire text appears from the right of the screen and slides until it disappears in the left of the screen(reappearing on the right again).

slide_short

The text appears in the left of the label and slides to the right to show the overflow. When all of the text has been shown the position is reset.

slide_bounce

The text appears in the left of the label and slides to the right to show the overflow. When all of the text has been shown the animation reverses, moving the text to the left.

Custom themes can of course invent new markup tags and style them any way they like.

Emitted signals

  • slide,end - The slide is end.

Enumerations

Slide modes

efl.elementary.ELM_LABEL_SLIDE_MODE_NONE

The label will never slide.

efl.elementary.ELM_LABEL_SLIDE_MODE_AUTO

The label slide if the content is bigger than it’s container.

efl.elementary.ELM_LABEL_SLIDE_MODE_ALWAYS

The label will always slide.

Inheritance diagram