<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSButton/BezelStyle-swift.enum/flexiblePush",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSBezelStyle@NSBezelStyleFlexiblePush"
  },
  "title" : "NSButton.BezelStyle.flexiblePush"
}
-->

# NSButton.BezelStyle.flexiblePush

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

```
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.

```objc
NSButton *button = [[NSButton alloc] init];
button.title = @"Flexible\n push";
button.bezelStyle = NSBezelStyleFlexiblePush;
```

For design guidance, see [Human Interface Guidelines > Buttons](https://developer.apple.com/design/human-interface-guidelines/buttons).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)