Class

NSScrubberFlowLayout

A concrete layout object that arranges items end-to-end in a linear strip.

Declaration

@interface NSScrubberFlowLayout : NSScrubberLayout

Overview

To set the size of items on a per-item basis, ensure that your scrubber delegate conforms to the NSScrubberFlowLayoutDelegate protocol, and provides an implementation of the scrubber:layout:sizeForItemAtIndex: method.

Topics

Configuring the Layout

itemSpacing

The horizontal spacing between items, specified in points.

itemSize

The frame size for each item in the scrubber.

Invalidating the Layout

- invalidateLayoutForItemsAtIndexes:

Informs the scrubber that it should perform a new layout pass for the items at the specified indexes.

Relationships

Inherits From

See Also

Scrubber Layouts

NSScrubberFlowLayoutDelegate

A protocol that a scrubber delegate can adopt to provide the size of an item.

NSScrubberProportionalLayout

A concrete layout object that sizes each item to some fraction of the scrubber's visible size.

NSScrubberLayoutAttributes

The layout of a scrubber item.

NSScrubberLayout

An abstract class that describes the layout of items within a scrubber control.