Navigation
API > API/Runtime > API/Runtime/SlateCore
Represents the appearance of an SScrollBox
| Name | FScrollBoxStyle |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include Path | #include "Styling/SlateTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FScrollBoxStyle : public FSlateWidgetStyle
Inheritance Hierarchy
- FSlateWidgetStyle → FScrollBoxStyle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScrollBoxStyle() |
Styling/SlateTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FScrollBoxStyle() |
Styling/SlateTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeName | const FName | Styling/SlateTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BarThickness | float | Styling/SlateTypes.h |
|
|
| BottomShadowBrush | FSlateBrush | Brush used to draw the bottom shadow of a scrollbox | Styling/SlateTypes.h |
|
| HorizontalScrolledContentPadding | FMargin | Padding scroll panel that presents the scrolled content | Styling/SlateTypes.h |
|
| LeftShadowBrush | FSlateBrush | Brush used to draw the left shadow of a scrollbox | Styling/SlateTypes.h |
|
| RightShadowBrush | FSlateBrush | Brush used to draw the right shadow of a scrollbox | Styling/SlateTypes.h |
|
| TopShadowBrush | FSlateBrush | Brush used to draw the top shadow of a scrollbox | Styling/SlateTypes.h |
|
| VerticalScrolledContentPadding | FMargin | Padding scroll panel that presents the scrolled content | Styling/SlateTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScrollBoxStyle & SetBarThickness
(
float InBarThickness |
Styling/SlateTypes.h | ||
FScrollBoxStyle & SetBottomShadowBrush
(
const FSlateBrush& InBottomShadowBrush |
Styling/SlateTypes.h | ||
FScrollBoxStyle & SetHorizontalScrolledContentPadding
(
const FMargin& InPadding |
Styling/SlateTypes.h | ||
FScrollBoxStyle & SetLeftShadowBrush
(
const FSlateBrush& InLeftShadowBrush |
Styling/SlateTypes.h | ||
FScrollBoxStyle & SetRightShadowBrush
(
const FSlateBrush& InRightShadowBrush |
Styling/SlateTypes.h | ||
FScrollBoxStyle & SetTopShadowBrush
(
const FSlateBrush& InTopShadowBrush |
Styling/SlateTypes.h | ||
FScrollBoxStyle & SetVerticalScrolledContentPadding
(
const FMargin& InPadding |
Styling/SlateTypes.h | ||
void UnlinkColors () |
Unlinks all colors in this style. | Styling/SlateTypes.h |
Overridden from FSlateWidgetStyle
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetResources
(
TArray< const FSlateBrush* >& OutBrushes |
Gets the brush resources associated with this style. | Styling/SlateTypes.h | |
virtual const FName GetTypeName() |
Gets the name of this style.This method must be implemented by inherited structures. | Styling/SlateTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FScrollBoxStyle & GetDefault() |
Styling/SlateTypes.h |