SScrollBarTrack

Arrange 3 widgets: the top track, bottom track, and thumb.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SScrollBarTrack.h

Include

#include "Widgets/Layout/SScrollBarTrack.h"

Syntax

class SScrollBarTrack : public SPanel

Remarks

Arrange 3 widgets: the top track, bottom track, and thumb.

Variables

Name Description

Protected variable

bool

 

bIsAlwaysVisible

Protected variable

TPanelChildren<...

 

Children

Protected variable

float

 

MinThumbSize

Protected variable

float

 

OffsetFraction

Protected variable

EOrientation

 

Orientation

Protected variable

float

 

ThumbSizeFraction

Constructors

Name Description

Public function

SScrollBarTrack()

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Construct the widget from a Declaration

Public function Const

float

 

DistanceFromBottom()

Public function Const

float

 

DistanceFromTop()

Public function Const

float

 

GetMinThumbSize()

Public function Const

float

 

GetThumbSizeFraction()

Public function Const

FTrackSizeIn...

 

GetTrackSizeInfo

(
    const FGeometry& InTrackGeometry
)

Public function Const

bool

 

IsNeeded()

Public function

void

 

SetIsAlwaysVisible

(
    bool InIsAlwaysVisible
)

Public function

void

 

SetSizes

(
    float InThumbOffsetFraction,
    float InThumbSizeFraction
)

Overridden from SWidget

Name Description

Public function Virtual Const

FVector2D

 

ComputeDesiredSize

(
    float
)

A Panel's desired size in the space required to arrange of its children on the screen while respecting all of the children's desired sizes and any layout-related options specified by the user.

Public function Virtual

FChildren &#...

 

GetChildren()

All widgets must provide a way to access their children in a layout-agnostic way.

Public function Virtual Const

void

 

OnArrangeChildren

(
    const FGeometry& AllottedGeometry,
    FArrangedChildren& ArrangedChildre...
)

Panels arrange their children in a space described by the AllottedGeometry parameter.

Classes

Name

Description

Public struct

FArguments

Public class

FSlot

A ListPanel slot is very simple - it just stores a widget.

Public struct

FTrackSizeInfo

Constants

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