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