LabeledContent
Pairs a descriptive label with its value or child controls.
<LabeledContent ... />
Overview
This component is backed by the platform control or container. Prefer its XML tag in an .etlua template; keep view-tree construction out of controllers.
Topics
Properties
| Name | Type | Required | Description |
|---|---|---|---|
label |
value | optional | Component-specific setting passed to the native control. |
labelWeight |
value | optional | System font weight for the label. |
spacing |
number | optional | Component-specific setting passed to the native control. |
Example
<LabeledContent />
Platform notes
- AppKit uses the AppKit implementation. UIKit uses the UIKit implementation.
Source: lua/embedded/AppKit.lua:663 (AppKit.LabeledContent)