Label¶
The Label displays a text, usually used as a note or a description of a part of the Layout. To create a scrolling effect, insert the Label into a Ticker segment.
Text
Desired text to be displayed. The text can be on multiple lines. The text length is limited to 255 characters.Appearance
The style of a Label.Enable Markdown
Whether the text should be interpreted as Markdown. If enabled, the text can contain Markdown formatting, such as bold or italic text, links, and more. For more information about markdown, see Basic Markdown Syntax.Markdown syntax is not supported in TVs with Tizen 5.x OS. In this case unformatted markdown text will be displayed. Text Wrapping
Whether the text should be splitted into multiple lines if the text is wider than the whole segment.Preserve Whitespace
Whether whitespaces in Label should be preserved as they are, or be replaced with a single space character.Text Color
Inheritable
For more information see Color Field section.
Color of the text.Background Color
Inheritable
For more information see Color Field section.
Color of the background.Text Style
Inheritable
For more information see Text Style section.
Type of font to use and whether bold or italic text should be used.Font Size Coefficient
Inheritable
“The font size is calculated by multiplying the available height for the text by the font size coefficient. The coefficient is automatically adjusted to ensure all rows are visible and fits within the designated area.Horizontal Alignment
Inheritable
Controls, where the text should be aligned on the horizontal axis.Left - Text is aligned to the left.
Center - Text is centered.
Right - Text is aligned to the right.
Vertical Alignment
Inheritable
Controls, where the text should be aligned on the vertical axis.Top - Text is aligned to the top.
Middle - Text is centered.
Bottom - Text is aligned to the bottom.
Padding
Inheritable
The size of a padding between the banner text and label’s border in “em” units. 1 em equals to the font size of the associated text.
The padding is applied to the side where the text is horizontally aligned.