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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback