Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
Inheritance Hierarchy
- FSlateWidgetStyle
- FComboBoxStyle
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include | #include "Styling/SlateTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FComboBoxStyle : public FSlateWidgetStyle
Remarks
Represents the appearance of an SComboBox
Variables
| Type | Name | Description | |
|---|---|---|---|
| FComboButtonStyle | ComboButtonStyle | The style to use for our SComboButton | |
| FMargin | ContentPadding | Button Content Padding | |
| FMargin | MenuRowPadding | Menu Row Padding | |
| FSlateSound | PressedSlateSound | The sound the button should play when pressed | |
| FSlateSound | SelectionChangeSlateSound | The Sound to play when the selection is changed |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FComboBoxStyle
(
const FComboBoxStyle& |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FComboBoxStyle & | GetDefault () |
||
| void | PostSerialize
(
const FArchive& Ar |
Used to upgrade the deprecated FName sound properties into the new-style FSlateSound properties | |
| FComboBoxStyle & | SetComboButtonStyle
(
const FComboButtonStyle& InComboButtonStyle |
||
| FComboBoxStyle & | SetContentPadding
(
const FMargin& InContentPadding |
||
| FComboBoxStyle & | SetMenuRowPadding
(
const FMargin& InMenuRowPadding |
||
| FComboBoxStyle & | SetPressedSound
(
const FSlateSound& InPressedSound |
||
| FComboBoxStyle & | SetSelectionChangeSound
(
const FSlateSound& InSelectionChangeSound |
||
| 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 |