Instance Property

baselineRelativeArrangement

A Boolean value that determines whether the vertical spacing between views is measured from their baselines.

Declaration

@property(nonatomic, getter=isBaselineRelativeArrangement) BOOL baselineRelativeArrangement;

Discussion

If YES, the vertical space between views are measured from the last baseline of a text-based view, to the first baseline of the view below it. Top and bottom views are also positioned so that their closest baseline is the specified distance away from the stack view’s edge. This property is only used by vertical stack views. Use the alignment property to baseline align views in a horizontal stack view.

The default value is NO.

See Also

Configuring The Layout

alignment

The alignment of the arranged subviews perpendicular to the stack view’s axis.

axis

The axis along which the arranged views are laid out.

distribution

The distribution of the arranged views along the stack view’s axis.

layoutMarginsRelativeArrangement

A Boolean value that determines whether the stack view lays out its arranged views relative to its layout margins.

spacing

The distance in points between the adjacent edges of the stack view’s arranged views.