Contents

isBaselineRelativeArrangement

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

Declaration

var isBaselineRelativeArrangement: Bool { get set }

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 false.

See Also

Configuring the layout