Instance Property

maxSize

The receiver’s maximum size.

Declaration

@property NSSize maxSize;

See Also

Constraining size

minSize

The receiver’s minimum size.

verticallyResizable

A Boolean that controls whether the receiver changes its height to fit the height of its text.

horizontallyResizable

A Boolean that controls whether the receiver changes its width to fit the width of its text.

- sizeToFit

Resizes the receiver to fit its text.