Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/ScrollBar.h |
| Include | #include "Components/ScrollBar.h" |
Syntax
UCLASS (Experimental, MinimalAPI)
class UScrollBar : public UWidget
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAlwaysShowScrollbar | ||
| bool | bAlwaysShowScrollbarTrack | ||
| TSharedPtr< class SScrollBar > | MyScrollBar | ||
| TEnumAsByte< EOrientation > | Orientation | ||
| FMargin | Padding | The margin around the scrollbar | |
| FVector2D | Thickness | The thickness of the scrollbar thumb | |
| FScrollBarStyle | WidgetStyle | Style of the scrollbar |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UScrollBar
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| EOrientation | |||
| FMargin | GetPadding () |
Sets the padding of the scrollbar. | |
| FVector2D | GetThickness () |
||
| const FScrollBarStyle & | |||
| void | InitOrientation
(
EOrientation InOrientation |
Initialize the orientation of the scrollbar in the constructor before the SWidget is constructed. | |
| bool | |||
| bool | |||
| void | Serialize
(
FArchive& Ar |
||
| void | SetAlwaysShowScrollbar
(
bool bNewValue |
Sets whether the scrollbar should always show. | |
| void | SetAlwaysShowScrollbarTrack
(
bool bNewValue |
Sets whether the scrollbar track should always show | |
| void | SetPadding
(
const FMargin& InPadding |
||
| void | SetState
(
float InOffsetFraction, |
Set the offset and size of the track's thumb. | |
| void | SetThickness
(
const FVector2D& InThickness |
Sets the thickness of the scrollbar. | |
| void | SetWidgetStyle
(
const FScrollBarStyle& InWidgetStyle |
Sets the style of scrollbar. |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | ||
| void | Applies all properties to the native widget if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |