Table of Contents

Enum ScrollContainer.ScrollMode

Namespace
Godot
Assembly
GodotSharp.dll
public enum ScrollContainer.ScrollMode : long

Fields

Auto = 1

Scrolling enabled, scrollbar will be visible only if necessary, i.e. container's content is bigger than the container.

Disabled = 0

Scrolling disabled, scrollbar will be invisible.

Reserve = 4

Combines Auto and ShowAlways. The scrollbar is only visible if necessary, but the content size is adjusted as if it was always visible. It's useful for ensuring that content size stays the same regardless if the scrollbar is visible.

ShowAlways = 2

Scrolling enabled, scrollbar will be always visible.

ShowNever = 3

Scrolling enabled, scrollbar will be hidden.