<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTabView/allowsTruncatedLabels",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTabView(py)allowsTruncatedLabels"
  },
  "title" : "allowsTruncatedLabels"
}
-->

# allowsTruncatedLabels

A Boolean value that indicates if the tab view allows truncating for labels that don’t fit on a tab.

```
var allowsTruncatedLabels: Bool { get set }
```

## Discussion

When the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, the tab view allows truncating for labels that don’t fit on a tab, otherwise it does not. The default value is <doc://com.apple.documentation/documentation/Swift/true>. When truncating is allowed, the tab view inserts an ellipsis, if necessary, to fit a label in the tab.

---

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)