Instance Property

orientation

The horizontal or vertical layout direction of the stack view.

Declaration

@property NSUserInterfaceLayoutOrientation orientation;

Discussion

Default value is NSUserInterfaceLayoutOrientationHorizontal. For values that apply to this property, see NSUserInterfaceLayoutOrientation.

See Also

Configuring the Stack View Layout

NSUserInterfaceLayoutOrientation

The two stack view layout directions and, for clipping resistance and hugging priority, the two user interface axes.

alignment

The view alignment within the stack view.

spacing

The minimum spacing, in points, between adjacent views in the stack view.

edgeInsets

The geometric padding inside the stack view, surrounding its views, in points.

hasEqualSpacing

A Boolean value that indicates whether the spacing between adjacent views should equal each other.

Deprecated