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