Instance Property


The size of the control.


var controlSize: NSControl.ControlSize { get set }

See Also

Resizing the Control

enum NSControl.ControlSize

Constants for specifying a cell’s size.

func sizeThatFits(NSSize) -> NSSize

Asks the control to calculate and return the size that best fits the specified size.

func sizeToFit()

Resizes the receiver’s frame so that it is the minimum size needed to contain its cell.