Choose your operating system:
Windows
macOS
Linux
Module |
|
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
(
const TSharedPtr< SWidget > & WidgetToFind,
bool InAnimateScroll,
EDescendantScrollDestination InDestination,
float Padding
)
Attempt to scroll a widget into view, will safely handle non-descendant widgets
Parameter |
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. |