---
title: textToSecondaryTextHorizontalPadding
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uilistcontentconfiguration-swift.struct/texttosecondarytexthorizontalpadding
---

# textToSecondaryTextHorizontalPadding

The minimum horizontal padding between the text and secondary text.

## Declaration

```swift
var textToSecondaryTextHorizontalPadding: CGFloat { get set }
```

## Discussion

Discussion This value only applies when there’s both text and secondary text, and they’re in a side-by-side layout that prefersSideBySideTextAndSecondaryText specifies.

## See Also

### Customizing layout

- [axesPreservingSuperviewLayoutMargins](uikit/uilistcontentconfiguration-swift.struct/axespreservingsuperviewlayoutmargins.md)
- [directionalLayoutMargins](uikit/uilistcontentconfiguration-swift.struct/directionallayoutmargins.md)
- [prefersSideBySideTextAndSecondaryText](uikit/uilistcontentconfiguration-swift.struct/preferssidebysidetextandsecondarytext.md)
- [imageToTextPadding](uikit/uilistcontentconfiguration-swift.struct/imagetotextpadding.md)
- [textToSecondaryTextVerticalPadding](uikit/uilistcontentconfiguration-swift.struct/texttosecondarytextverticalpadding.md)
