---
title: width
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uifontdescriptor/traitkey/width
---

# width

The inter-glyph spacing of the font.

## Declaration

```swift
static let width: UIFontDescriptor.TraitKey
```

## Discussion

Discussion The value of this key is an NSNumber object. The valid value range is from -1.0 to 1.0. The value of 0.0 corresponds to the regular glyph spacing.

## See Also

### Font traits

- [slant](uikit/uifontdescriptor/traitkey/slant.md)
- [symbolic](uikit/uifontdescriptor/traitkey/symbolic.md)
- [weight](uikit/uifontdescriptor/traitkey/weight.md)
