SScrollBox::ScrollDescendantIntoView

Attempt to scroll a widget into view, will safely handle non-descendant widgets

Windows
MacOS
Linux

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

Syntax

void ScrollDescendantIntoView
(
    const TSharedPtr< SWidget > & WidgetToFind,
    bool InAnimateScroll,
    EDescendantScrollDestination InDestination,
    float Padding
)

Remarks

Attempt to scroll a widget into view, will safely handle non-descendant widgets

Parameters

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss