unreal.DescendantScrollDestination

class unreal.DescendantScrollDestination

Bases: EnumBase

Where to scroll the descendant to

C++ Source:

  • Module: Slate

  • File: SScrollBox.h

BOTTOM_OR_RIGHT: DescendantScrollDestination

Always scroll the widget so it appears at the bottom/Right of the scrollable area.

Type:

3

CENTER: DescendantScrollDestination

Always scroll the widget so it appears at the center of the scrollable area, if possible. This won’t be possible for the first few items and the last few items, as there’s not enough slack.

Type:

2

INTO_VIEW: DescendantScrollDestination

Scroll the widget into view using the least amount of energy possible. So if the new item is above the visible set, it will stop as soon as it’s in view at the top. If it’s below the visible set, it stop it comes into view at the bottom.

Type:

0

TOP_OR_LEFT: DescendantScrollDestination

Always scroll the widget so it appears at the top/Left of the scrollable area.

Type:

1