Contents

horizontalAlignment

The horizontal alignment of the view.

Declaration

var horizontalAlignment: SWAttributionView.HorizontalAlignment { get set }

Discussion

This horizontalAlignment specifies the horizontal anchor for the view’s contents. This value only has an effect when the width of the contents are less than the available width. You should specify a value, in case the internal default ever changes.

See Also

Customizing highlights