Navigation
API > API/Runtime > API/Runtime/Slate
Where to scroll the descendant to
| Name | EDescendantScrollDestination |
| Type | enum |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SScrollBox.h |
| Include Path | #include "Widgets/Layout/SScrollBox.h" |
Syntax
enum EDescendantScrollDestination
{
IntoView,
TopOrLeft,
Center,
BottomOrRight,
}
Values
| Name | Remarks |
|---|---|
| IntoView | Scroll the widget into view using the least amount of energy possible. |
| TopOrLeft | Always scroll the widget so it appears at the top/Left of the scrollable area. |
| Center | Always scroll the widget so it appears at the center of the scrollable area, if possible. |
| BottomOrRight | Always scroll the widget so it appears at the bottom/Right of the scrollable area. |