Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
Inheritance Hierarchy
- FSlateWidgetStyle
- FComboButtonStyle
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include | #include "Styling/SlateTypes.h" |
Syntax
struct FComboButtonStyle : public FSlateWidgetStyle
Remarks
Represents the appearance of an SComboButton
Variables
| Type | Name | Description | |
|---|---|---|---|
| FButtonStyle | ButtonStyle | The style to use for our SButton. | |
| FMargin | ContentPadding | Button Content Padding | |
| TEnumAsByte< EVerticalAlignment > | DownArrowAlign | Dropdown arrow vertical alignment | |
| FSlateBrush | DownArrowImage | Image to use for the down arrow. | |
| FMargin | DownArrowPadding | Dropdown arrow padding (if a dropdown arrow exists) | |
| FSlateBrush | MenuBorderBrush | Brush to use to add a "menu border" around the drop-down content. | |
| FMargin | MenuBorderPadding | Padding to use to add a "menu border" around the drop-down content. | |
| FLinearColor | ShadowColorAndOpacity | The color and opacity of the shadow for the down arrow. Only active if ShadowOffset is not (0,0). | |
| FDeprecateSlateVector2D | ShadowOffset | How much should the shadow be offset for the down arrow? An offset of 0 implies no shadow. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FComboButtonStyle & | GetDefault () |
||
| FComboButtonStyle & | SetButtonStyle
(
const FButtonStyle& InButtonStyle |
||
| FComboButtonStyle & | SetContentPadding
(
const FMargin& InContentPadding |
||
| FComboButtonStyle & | SetDownArrowAlignment
(
const EVerticalAlignment& InVAlign |
||
| FComboButtonStyle & | SetDownArrowImage
(
const FSlateBrush& InDownArrowImage |
||
| FComboButtonStyle & | SetDownArrowPadding
(
const FMargin& InDownArrowPadding |
||
| FComboButtonStyle & | SetMenuBorderBrush
(
const FSlateBrush& InMenuBorderBrush |
||
| FComboButtonStyle & | SetMenuBorderPadding
(
const FMargin& InMenuBorderPadding |
||
| FComboButtonStyle & | SetShadowColorAndOpacity
(
const FLinearColor& InShadowColorAndOpacity |
||
| FComboButtonStyle & | SetShadowOffset
(
const UE::Slate::FDeprecateVector2DParameter& InShadowOffset |
||
| 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 |