FComboButtonStyle

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

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

FSlateBrush

 

DownArrowImage

Image to use for the down arrow.

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...

 

SetDownArrowImage

(
    const FSlateBrush& InDownArrowImag...
)

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss