Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout > API/Runtime/Slate/Widgets/Layout/SScrollBox
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SScrollBox.h |
| Include | #include "Widgets/Layout/SScrollBox.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/Layout/SScrollBox.cpp |
void ScrollDescendantIntoView
&40;
const TSharedPtr< SWidget > & WidgetToFind,
bool InAnimateScroll,
EDescendantScrollDestination InDestination,
float Padding
&41;
Remarks
Attempt to scroll a widget into view, will safely handle non-descendant widgets
Parameters
| Name | Description |
|---|---|
| WidgetToFind | The widget whose geometry we wish to discover. |
| InAnimateScroll | Whether or not to animate the scroll |
| InDestination | Where we want the child widget to stop. |