loom & weft
Made for Swift.

Unreleased APIs from PR #2. Not in 0.2.1. Stable 0.2.1 reference.

LOOM Unreleased (PR #2) / WIDGETS

PanelTitleAlignment

Horizontal title placement: left, center, or right. PanelTitle also chooses a top or bottom edge. Titles require the corresponding border by default.

Standard inherited Swift protocol operations such as synthesized equality and OptionSet set operations are not repeated. The public declarations below are extracted from the exact source revision listed in the coverage manifest.

Example

_ = Panel(title: "Status", titleAlignment: .center)
Members on this page

Feature guides and release status

PanelTitleAlignment

Enumeration
enum PanelTitleAlignment

Conforms to: Swift.Equatable, Swift.Hashable, Swift.Sendable, Swift.SendableMetatype.

Horizontal placement of a panel title inside its top border.

Source · Panel.swift:67

left

Case
case left

The left case. Associated values, if any, are shown in the declaration.

Source · Panel.swift:68

center

Case
case center

The center case. Associated values, if any, are shown in the declaration.

Source · Panel.swift:69

right

Case
case right

The right case. Associated values, if any, are shown in the declaration.

Source · Panel.swift:70