FToolBarStyle

Represents the appearance of a toolbar

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FSlateWidgetStyle

FToolBarStyle

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/ToolBarStyle.h

Include

#include "Styling/ToolBarStyle.h"

Syntax

struct FToolBarStyle : public FSlateWidgetStyle

Remarks

Represents the appearance of a toolbar

Variables

Name Description

Public variable

FSlateBrush

 

BackgroundBrush

The brush used for the background of the toolbar

Public variable

FMargin

 

BackgroundPadding

Public variable

FMargin

 

BlockPadding

Public variable

bool

 

bShowLabels

Public variable

FMargin

 

ButtonPadding

Public variable

FButtonStyle

 

ButtonStyle

Public variable

FMargin

 

CheckBoxPadding

Public variable

FMargin

 

ComboButtonPadding

Public variable

FComboButtonSty...

 

ComboButtonStyle

Public variable

FEditableTextBo...

 

EditableTextStyle

Public variable

FSlateBrush

 

ExpandBrush

The brush used for the expand arrow when the toolbar runs out of room and needs to display toolbar items in a menu

Public variable

FVector2D

 

IconSize

Public variable

FMargin

 

IndentedBlockPadding

Public variable

FMargin

 

LabelPadding

Public variable

FTextBlockStyle

 

LabelStyle

Public variable

FSlateBrush

 

SeparatorBrush

Public variable

FMargin

 

SeparatorPadding

Public variable

FButtonStyle

 

SettingsButtonStyle

Public variable

FComboButtonSty...

 

SettingsComboButton

Public variable

FCheckBoxStyle

 

SettingsToggleButton

Public variable

FCheckBoxStyle

 

ToggleButton

Constructors

Name Description

Public function

FToolBarStyle()

Destructors

Name Description

Public function Virtual

~FToolBarStyle()

Functions

Name Description

Public function Static

const FToolB...

 

GetDefault()

Public function

FToolBarStyl...

 

SetBackground

(
    const FSlateBrush& InBackground
)

Public function

FToolBarStyl...

 

SetBackgroundPadding

(
    const FMargin& InMargin
)

Public function

FToolBarStyl...

 

SetBlockPadding

(
    const FMargin& InBlockPadding
)

Public function

FToolBarStyl...

 

SetButtonPadding

(
    const FMargin& InButtonPadding
)

Public function

FToolBarStyl...

 

SetButtonStyle

(
    const FButtonStyle& InButtonStyle
)

Public function

FToolBarStyl...

 

SetCheckBoxPadding

(
    const FMargin& InCheckBoxPadding
)

Public function

FToolBarStyl...

 

SetComboButtonPadding

(
    const FMargin& InComboButtonPaddin...
)

Public function

FToolBarStyl...

 

SetComboButtonStyle

(
    const FComboButtonStyle& InComboBu...
)

Public function

FToolBarStyl...

 

SetEditableTextStyle

(
    const FEditableTextBoxStyle& InEdi...
)

Public function

FToolBarStyl...

 

SetExpandBrush

(
    const FSlateBrush& InExpandBrush
)

Public function

FToolBarStyl...

 

SetIconSize

(
    const FVector2D& InIconSize
)

Public function

FToolBarStyl...

 

SetIndentedBlockPadding

(
    const FMargin& InIndentedBlockPadd...
)

Public function

FToolBarStyl...

 

SetLabelPadding

(
    const FMargin& InLabelPadding
)

Public function

FToolBarStyl...

 

SetLabelStyle

(
    const FTextBlockStyle& InLabelStyl...
)

Public function

FToolBarStyl...

 

SetSeparatorBrush

(
    const FSlateBrush& InSeparatorBrus...
)

Public function

FToolBarStyl...

 

SetSeparatorPadding

(
    const FMargin& InSeparatorPadding
)

Public function

FToolBarStyl...

 

SetSettingsButtonStyle

(
    const FButtonStyle& InSettingsButt...
)

Public function

FToolBarStyl...

 

SetSettingsComboButtonStyle

(
    const FComboButtonStyle& InSetting...
)

Public function

FToolBarStyl...

 

SetSettingsToggleButtonStyle

(
    const FCheckBoxStyle& InSettingsTo...
)

Public function

FToolBarStyl...

 

SetShowLabels

(
    bool bInShowLabels
)

Public function

FToolBarStyl...

 

SetToggleButtonStyle

(
    const FCheckBoxStyle& InToggleButt...
)

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