ISlateEditableTextWidget::UpdateAndClampHorizontalScrollBar

Called when the fraction and offset of the horizontal scroll area has been recalculated.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Text/ISlateEditableTextWidget.h

Include

#include "Widgets/Text/ISlateEditableTextWidget.h"

Syntax

float UpdateAndClampHorizontalScrollBar
(
    const float InViewOffset,
    const float InViewFraction,
    const EVisibility InVisiblityOverride
)

Remarks

Called when the fraction and offset of the horizontal scroll area has been recalculated. This function should apply the new values to any scrollbars, and return a clamped horizontal scroll value

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