The size required to contain all elements within the scrubber.
SDK
- macOS 10.12.1+
Framework
- App
Kit
Declaration
var scrubberContentSize: NSSize { get }
Discussion
The base implementation returns NSZero
.
The size required to contain all elements within the scrubber.
SDK
Framework
var scrubberContentSize: NSSize { get }
The base implementation returns NSZero
.
func prepare()
Gives you an opportunity to perform layout calculations when the scrubber's layout is invalidated.
func layout Attributes For Item(at: Int) -> NSScrubber Layout Attributes?
The layout attributes for the item with the specified index.
func layout Attributes For Items(in: NSRect) -> Set<NSScrubber Layout Attributes>
The set of layout attributes for all items within the provided rectangle.
var should Invalidate Layout For Selection Change: Bool
Determines whether the scrubber should refresh its layout when the selection changes.
var should Invalidate Layout For Highlight Change: Bool
Determines whether the scrubber should refresh its layout when an item is highlighted.
func should Invalidate Layout For Change(from Visible Rect: NSRect, to Visible Rect: NSRect) -> Bool
Determines whether the scrubber should refresh its layout in response to a change of its visible region.
var automatically Mirrors In Right To Left Layout: Bool
Determines whether the scrubber mirrors its layout for right-to-left layouts.