Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 918 Bytes

LabeledContent.md

File metadata and controls

37 lines (23 loc) · 918 Bytes

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:527 (AppKit.LabeledContent)