Contents

NSButton.BezelStyle.flexiblePush

A push button with a flexible height to accommodate longer text labels or an image.

Declaration

case flexiblePush

Discussion

Use this style of button when you need to accommodate tall or variable height content.

Tall or variable height content includes text with newlines (`n`) as well as buttons you constrain the width of through Auto Layout. This style automatically wraps text based on button width and available space.

For design guidance, see Human Interface Guidelines > Buttons.

See Also

Push