Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSControlMBS class.

Control Sizes

NSControlMBS.ControlSizeExtraLarge = 4

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 25.3
One of the constants to specify a cell’s size.

A extra size larger than the default control size.
For macOS 26 or newer.

A control version that is substantially sized. The largest control size. Resolves to ControlSizeLarge on platforms other than visionOS.

NSControlMBS.ControlSizeLarge = 3

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 22.1
One of the constants to specify a cell’s size.

A size larger than the default control size.

NSControlMBS.ControlSizeMini = 2

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 22.1
One of the constants to specify a cell’s size.

The smallest control size.

NSControlMBS.ControlSizeRegular = 0

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 22.1
One of the constants to specify a cell’s size.

The default control size.

NSControlMBS.ControlSizeSmall = 1

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 22.1
One of the constants to specify a cell’s size.

A size smaller than the default control size.
This constant is for controls that can’t be resized in one direction, such as push buttons, radio buttons, checkboxes, sliders, scroll bars, pop-up buttons, tabs, and progress indicators. Use a small system font with a small control.

The items on this page are in the following plugins: MBS MacCocoa Plugin.


The biggest plugin in space...