Control that displays formatted text.
Label is a control that displays formatted text, optionally autowrapping it to the [Control] area. It inherits from range to be able to scroll wrapped text vertically.
Return the alignment mode (any of the ALIGN_* enumeration values).
Return the amount of lines.
Return the height of a line.
Return the the number of lines to skipped before displaying.
Return the restricted number of lines to display. Returns -1 if unrestricted.
Return the restricted number of characters to display (as a percentage of the total text).
Return the label text. Text can contain newlines.
Return the total length of the text.
Return the vertical alignment mode (any of the VALIGN_* enumeration values).
Return the restricted number of characters to display. Returns -1 if unrestricted.
Return the state of the [i]autowrap[/i] mode (see [method set_autowrap]).
Return true if text would be cut off if it is too wide.
Return true if text is displayed in all capitals.
Sets the alignment mode to any of the ALIGN_* enumeration values.
Set [i]autowrap[/i] mode. When enabled, autowrap will fit text to the control width, breaking sentences when they exceed the available horizontal space. When disabled, the label minimum width becomes the width of the longest row, and the minimum height large enough to fit all rows.
Cuts off the rest of the text if it is too wide.
Sets the number of lines to skip before displaying. Useful for scrolling text.
Restricts the number of lines to display. Set to -1 to disable.
Restricts the number of characters to display (as a percentage of the total text).
Set the label text. Text can contain newlines.
Display text in all capitals.
Sets the vertical alignment mode to any of the VALIGN_* enumeration values.
Restricts the number of characters to display. Set to -1 to disable.
Align rows to the left (default).
Align rows centered.
Align rows to the right (default).
Expand row whitespaces to fit the width.
Align the whole text to the top.
Align the whole text to the center.
Align the whole text to the bottom.
Align the whole text by spreading the rows.