TTMSFNCWidgetMatrixLabelAppearance Class
Groups the visual settings of the LED matrix label, including the lit and unlit LED colors, the cell size and spacing, the text casing and alignment, and whether the control auto-sizes to its content.
API unit family: TMSFNCWidgetMatrixLabel
Inherits from: TPersistent
Syntax
TTMSFNCWidgetMatrixLabelAppearance = class(TPersistent)
Properties
| Name | Description |
|---|---|
| Alignment | The alignment of the text within the available cells when scrolling is disabled. |
| AutoSize | When True the control automatically resizes to fit the configured number of cells, cell size, spacing, and margin. When False the explicit control bounds are kept. |
| High | The color of lit cells, used for the foreground of each character. |
| LedStyle | The pixel size of each character cell on the grid. |
| LedsVisible | When True the unlit background cells are drawn so the full grid is visible; when False only the lit cells are drawn. |
| Low | The color of unlit cells, used for the background of the grid when LedsVisible is True. |
| Margin | The extra space, in pixels, added around the grid when the control auto-sizes. |
| Spacing | The gap, in pixels, between adjacent character cells. |
| TextStyle | The casing applied to the text before it is rendered. |
Events
| Name | Description |
|---|---|
| OnChanged | Occurs when any appearance setting changes so the owner can repaint. |