Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SPanel
- SScrollBarTrack
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
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsAlwaysVisible | ||
| TPanelChildren< FSlot > | Children | ||
| float | MinThumbSize | ||
| float | OffsetFraction | ||
| EOrientation | Orientation | ||
| float | ThumbSizeFraction |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
Construct the widget from a Declaration | |
| float | |||
| float | |||
| float | |||
| float | |||
| FTrackSizeInfo | GetTrackSizeInfo
(
const FGeometry& InTrackGeometry |
||
| bool | IsNeeded () |
||
| void | SetIsAlwaysVisible
(
bool InIsAlwaysVisible |
||
| void | SetSizes
(
float InThumbOffsetFraction, |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| 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. | |
| FChildren * | GetChildren () |
All widgets must provide a way to access their children in a layout-agnostic way. | |
| void | OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Panels arrange their children in a space described by the AllottedGeometry parameter. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments | |||
| FSlot | A ListPanel slot is very simple - it just stores a widget. | ||
| FTrackSizeInfo |
Constants
| Name | Description |
|---|---|
| BOTTOM_SLOT_INDEX | |
| THUMB_SLOT_INDEX | |
| TOP_SLOT_INDEX |