setControlSize:

Sets the receiver’s control size.

Declaration

- (void)setControlSize:(NSControlSize)size

Parameters

size

The new control size.

Overview

NSPathCell properly respects the control size for the NSPathStyleStandard and NSPathStylePopUp styles. When the control size is set, the new size is propagated to subcells. When the path style is set to NSPathStyleNavigationBar, you cannot change the control size, and it is always set to NSSmallControlSize. Attempting to change the control size when the path style is NSPathStyleNavigationBar causes an assertion. Setting the path style to NSPathStyleNavigationBar forces the control size to be NSSmallControlSize.

See Also

Setting the Control Style

pathStyle

Sets the receiver’s path style.