> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/enums/scrollbarinset.md).

# ScrollBarInset

## Overview

ScrollBarInset is an Enum that defines the condition for applying the scroll bar thickness as an inset of the content area.

It is used in the HorizontalScrollBarInset and VerticalScrollBarInset properties of ScrollingFrame, and determines whether to leave a margin in the content area equal to the scroll bar thickness.

## Items

| Name      | Value | Description                                              |
| --------- | ----- | -------------------------------------------------------- |
| None      | 0     | Does not apply the inset.                                |
| ScrollBar | 1     | Applies the inset only when the scroll bar is displayed. |
| Always    | 2     | Always applies the inset.                                |

## See also

{% content-ref url="/pages/mynrdpnaLAwMCUWSc9kw" %}
[ScrollingFrame](https://docs.overdare.com/development/api-reference/classes/scrollingframe.md)
{% endcontent-ref %}
