Contents

contentInsets

The distance from the button’s content area to its bounds.

Declaration

var contentInsets: NSDirectionalEdgeInsets { get set }

Discussion

A button has a default inset based on its styling. This property is an additional inset applied after that default inset.

See Also

Configuring layout