Instance Method

scrubber:layout:sizeForItemAtIndex:

Asks the delegate for the size of each item in a scrubber whose items are arranged in a flow layout.

Declaration

- (NSSize)scrubber:(NSScrubber *)scrubber layout:(NSScrubberFlowLayout *)layout sizeForItemAtIndex:(NSInteger)itemIndex;

Parameters

scrubber

The scrubber object displaying the items arranged in a flow layout.

layout

The layout object requesting the information.

itemIndex

The index of the item in the scrubber.

Return Value

The width and height of the item at the specified index in the scrubber.