Enumeration

NSControl.ControlSize

Constants for specifying a cell’s size.

Declaration

enum ControlSize : UInt

Overview

These constants are used by the controlSize property.

Topics

See Also

Resizing the Control

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.