Navigation
API > API/Runtime > API/Runtime/Slate
Arrange 3 widgets: the top track, bottom track, and thumb.
| Name | SScrollBarTrack |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SScrollBarTrack.h |
| Include Path | #include "Widgets/Layout/SScrollBarTrack.h" |
Syntax
class SScrollBarTrack : public SPanel
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SPanel → SScrollBarTrack
- FSlateControlledConstruction → SWidget → SPanel → SScrollBarTrack
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SScrollBarTrack() |
Widgets/Layout/SScrollBarTrack.h |
Classes
| Name | Remarks |
|---|---|
| FSlot | A ListPanel slot is very simple - it just stores a widget. |
Structs
| Name | Remarks |
|---|---|
| FArguments | |
| FTrackSizeInfo |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| BOTTOM_SLOT_INDEX | const int32 | Widgets/Layout/SScrollBarTrack.h | |
| THUMB_SLOT_INDEX | const int32 | Widgets/Layout/SScrollBarTrack.h | |
| TOP_SLOT_INDEX | const int32 | Widgets/Layout/SScrollBarTrack.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Construct the widget from a Declaration | Widgets/Layout/SScrollBarTrack.h | |
float DistanceFromBottom() |
Widgets/Layout/SScrollBarTrack.h | ||
float DistanceFromTop() |
Widgets/Layout/SScrollBarTrack.h | ||
float GetMinThumbSize() |
Widgets/Layout/SScrollBarTrack.h | ||
float GetThumbSizeFraction() |
Widgets/Layout/SScrollBarTrack.h | ||
FTrackSizeInfo GetTrackSizeInfo
(
const FGeometry& InTrackGeometry |
Widgets/Layout/SScrollBarTrack.h | ||
bool IsNeeded() |
Widgets/Layout/SScrollBarTrack.h | ||
void SetIsAlwaysVisible
(
bool InIsAlwaysVisible |
Widgets/Layout/SScrollBarTrack.h | ||
void SetSizes
(
float InThumbOffsetFraction, |
Widgets/Layout/SScrollBarTrack.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual 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. | Widgets/Layout/SScrollBarTrack.h | |
virtual FChildren * GetChildren() |
Widgets/Layout/SScrollBarTrack.h | ||
virtual void OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Panels arrange their children in a space described by the AllottedGeometry parameter. | Widgets/Layout/SScrollBarTrack.h |