---
title: horizontalScrollIndicatorInsets
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiscrollview/horizontalscrollindicatorinsets
---

# horizontalScrollIndicatorInsets

The horizontal distance the scroll indicators are inset from the edge of the scroll view.

## Declaration

```swift
var horizontalScrollIndicatorInsets: UIEdgeInsets { get set }
```

## Discussion

Discussion The default value is zero.

## See Also

### Managing the scroll indicator and refresh control

- [indicatorStyle](uikit/uiscrollview/indicatorstyle-swift.property.md)
- [UIScrollView.IndicatorStyle](uikit/uiscrollview/indicatorstyle-swift.enum.md)
- [showsHorizontalScrollIndicator](uikit/uiscrollview/showshorizontalscrollindicator.md)
- [showsVerticalScrollIndicator](uikit/uiscrollview/showsverticalscrollindicator.md)
- [verticalScrollIndicatorInsets](uikit/uiscrollview/verticalscrollindicatorinsets.md)
- [automaticallyAdjustsScrollIndicatorInsets](uikit/uiscrollview/automaticallyadjustsscrollindicatorinsets.md)
- [flashScrollIndicators()](uikit/uiscrollview/flashscrollindicators().md)
- [withScrollIndicatorsShown(forContentOffsetChanges:)](uikit/uiscrollview/withscrollindicatorsshown(forcontentoffsetchanges:).md)
- [refreshControl](uikit/uiscrollview/refreshcontrol.md)
- [UIRefreshControl](uikit/uirefreshcontrol.md)
