SMultiLineEditableText::UpdateAndClampHorizontalScrollBar

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

ISlateEditableTextWidget::UpdateAndClampHorizontalScrollBar()

SMultiLineEditableText::UpdateAndClampHorizontalScrollBar()

References

Module

Slate

Header

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

Include

#include "Widgets/Text/SMultiLineEditableText.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/Text/SMultiLineEditableText.cpp

Syntax

virtual 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