FComboButtonStyle

Represents the appearance of an [SComboButton](API\Runtime\Slate\Widgets\Input\SComboButton)

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public variable

FButtonStyle

 

ButtonStyle

The style to use for our SButton.

Public variable

FMargin

 

ContentPadding

Button Content Padding

Public variable

TEnumAsByte< EV...

 

DownArrowAlign

Dropdown arrow vertical alignment

Public variable

FSlateBrush

 

DownArrowImage

Image to use for the down arrow.

Public variable

FMargin

 

DownArrowPadding

Dropdown arrow padding (if a dropdown arrow exists)

Public variable

FSlateBrush

 

MenuBorderBrush

Brush to use to add a "menu border" around the drop-down content.

Public variable

FMargin

 

MenuBorderPadding

Padding to use to add a "menu border" around the drop-down content.

Public variable

FLinearColor

 

ShadowColorAndOpacity

The color and opacity of the shadow for the down arrow. Only active if ShadowOffset is not (0,0).

Public variable

FVector2D

 

ShadowOffset

How much should the shadow be offset for the down arrow? An offset of 0 implies no shadow.

Constructors

Name Description

Public function

FComboButtonStyle()

Destructors

Name Description

Public function Virtual

~FComboButtonStyle()

Functions

Name Description

Public function Static

const FCombo...

 

GetDefault()

Public function

FComboButton...

 

SetButtonStyle

(
    const FButtonStyle& InButtonStyle
)

Public function

FComboButton...

 

SetContentPadding

(
    const FMargin& InContentPadding
)

Public function

FComboButton...

 

SetDownArrowAlignment

(
    const EVerticalAlignment& InVAlign
)

Public function

FComboButton...

 

SetDownArrowImage

(
    const FSlateBrush& InDownArrowImag...
)

Public function

FComboButton...

 

SetDownArrowPadding

(
    const FMargin& InDownArrowPadding
)

Public function

FComboButton...

 

SetMenuBorderBrush

(
    const FSlateBrush& InMenuBorderBru...
)

Public function

FComboButton...

 

SetMenuBorderPadding

(
    const FMargin& InMenuBorderPadding
)

Public function

FComboButton...

 

SetShadowColorAndOpacity

(
    const FLinearColor& InShadowColorA...
)

Public function

FComboButton...

 

SetShadowOffset

(
    const FVector2D& InShadowOffset
)

Public function

void

 

UnlinkColors()

Unlinks all colors in this style.

Overridden from FSlateWidgetStyle

Name Description

Public function Virtual Const

void

 

GetResources

(
    TArray< const FSlateBrush* >&...
)

Gets the brush resources associated with this style.

Public function Virtual Const

const FName

 

GetTypeName()

Gets the name of this style.

This method must be implemented by inherited structures.

Constants

Name

Description

TypeName