UScrollBar

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/ScrollBar.h

Include

#include "Components/ScrollBar.h"

Syntax

class UScrollBar : public UWidget

Variables

Name Description

Public variable

bool

 

bAlwaysShowScrollbar

Public variable

bool

 

bAlwaysShowScrollbarTrack

Protected variable

TSharedPtr< cla...

 

MyScrollBar

Public variable

TEnumAsByte< EO...

 

Orientation

Public variable

FMargin

 

Padding

The margin around the scrollbar

Public variable

FVector2D

 

Thickness

The thickness of the scrollbar thumb

Public variable

FScrollBarStyle

 

WidgetStyle

Style of the scrollbar

Constructors

Name Description

Public function

UScrollBar

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

SetState

(
    float InOffsetFraction,
    float InThumbSizeFraction
)

Set the offset and size of the track's thumb.

Overridden from UWidget

Name Description

Public function Virtual

const FText

 

GetPaletteCategory()

Gets the palette category of the widget

Protected function Virtual

TSharedRef< ...

 

RebuildWidget()

Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed.

Public function Virtual

void

 

SynchronizeProperties()

Applies all properties to the native widget if possible.

Overridden from UVisual

Name Description

Public function Virtual

void

 

ReleaseSlateResources

(
    bool bReleaseChildren
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Deprecated Variables

Name Description

Public variable

USlateWidgetSty...

 

Style_DEPRECATED

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