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
class UScrollBar : public UWidget
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< class SScrollBar > | MyScrollBar |
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 | 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 |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | Handles reading, writing, and reference collecting using FArchive. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAlwaysShowScrollbar | Direct access to bAlwaysShowScrollbar is deprecated. Please use the getter or setter. | |
| bool | bAlwaysShowScrollbarTrack | Direct access to bAlwaysShowScrollbarTrack is deprecated. Please use the getter or setter. | |
| TEnumAsByte< EOrientation > | Orientation | Direct access to Orientation is deprecated. Please use the getter. Note that the orientation of a scrollbar is only set at construction and is not modifiable at runtime. | |
| FMargin | Padding | Direct access to Padding is deprecated. Please use the getter or setter. | |
| FVector2D | Thickness | Direct access to Thickness is deprecated. Please use the getter or setter. | |
| FScrollBarStyle | WidgetStyle | Direct access to WidgetStyle is deprecated. Please use the getter or setter. |