---
title: allowsDefaultTighteningForTruncation
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextfield/allowsdefaulttighteningfortruncation
---

# allowsDefaultTighteningForTruncation

A Boolean value that controls whether single-line text fields tighten intercharacter spacing before truncating the text.

## Declaration

```swift
var allowsDefaultTighteningForTruncation: Bool { get set }
```

## Discussion

Discussion The text field ignores this property when its value is an attributed string.

## See Also

### Configuring Line Wrapping

- [lineBreakStrategy](appkit/nstextfield/linebreakstrategy.md)
- [maximumNumberOfLines](appkit/nstextfield/maximumnumberoflines.md)
