Contents

itemAlignment

A setting that specifies the snapping behavior of items in the scrubber.

Declaration

var itemAlignment: NSScrubber.Alignment { get set }

Discussion

Set the value to something other than NSScrubber.Alignment.none to ensure that an item is aligned with the specified position when the scrubber comes to rest.

The default value is NSScrubber.Alignment.none.

See Also

Changing the layout