<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "tvOS: 17.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIContentUnavailableConfiguration-swift.struct/TextProperties-swift.struct/adjustsFontSizeToFitWidth",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit33UIContentUnavailableConfigurationV14TextPropertiesV25adjustsFontSizeToFitWidthSbvp"
  },
  "title" : "adjustsFontSizeToFitWidth"
}
-->

# adjustsFontSizeToFitWidth

A Boolean value indicating whether the view modifies the font size of the text to fit the available width.

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

## Discussion

You can define the smallest font size used by setting the [`minimumScaleFactor`](/documentation/UIKit/UIContentUnavailableConfiguration-swift.struct/TextProperties-swift.struct/minimumScaleFactor) property.

---

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)