Enumeration

NSControlSize

Constants for specifying a cell’s size.

Declaration

typedef enum NSControlSize : NSUInteger {
    ...
} NSControlSize;

Overview

These constants are used by the controlSize property.

Topics

Constants

NSRegularControlSize

The control is sized as regular.

Deprecated
NSSmallControlSize

The control has a smaller size.

Deprecated
NSMiniControlSize

The control has a smaller size than NSSmallControlSize.

Deprecated

See Also

Resizing the Control

controlSize

The size of the control.

- sizeThatFits:

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

- sizeToFit

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