UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FToolBarStyle Struct Reference

#include <ToolBarStyle.h>

+ Inheritance diagram for FToolBarStyle:

Public Member Functions

SLATECORE_API FToolBarStyle ()
 
SLATECORE_API FToolBarStyle (const FToolBarStyle &)
 
virtual SLATECORE_API ~FToolBarStyle () override
 
virtual SLATECORE_API void GetResources (TArray< const FSlateBrush * > &OutBrushes) const override
 
virtual const FName GetTypeName () const override
 
FToolBarStyleSetBackground (const FSlateBrush &InBackground)
 
FToolBarStyleSetExpandBrush (const FSlateBrush &InExpandBrush)
 
FToolBarStyleSetSeparatorBrush (const FSlateBrush &InSeparatorBrush)
 
FToolBarStyleSetLabelStyle (const FTextBlockStyle &InLabelStyle)
 
FToolBarStyleSetEditableTextStyle (const FEditableTextBoxStyle &InEditableTextStyle)
 
FToolBarStyleSetToggleButtonStyle (const FCheckBoxStyle &InToggleButton)
 
FToolBarStyleSetComboButtonStyle (const FComboButtonStyle &InComboButtonStyle)
 
FToolBarStyleSetSettingsButtonStyle (const FButtonStyle &InSettingsButton)
 
FToolBarStyleSetSettingsComboButtonStyle (const FComboButtonStyle &InSettingsComboButton)
 
FToolBarStyleSetSettingsToggleButtonStyle (const FCheckBoxStyle &InSettingsToggleButton)
 
FToolBarStyleSetButtonStyle (const FButtonStyle &InButtonStyle)
 
FToolBarStyleSetLabelPadding (const FMargin &InLabelPadding)
 
FToolBarStyleSetUniformBlockWidth (const float InUniformBlockWidth)
 
FToolBarStyleSetUniformBlockHeight (const float InUniformBlockHeight)
 
FToolBarStyleSetNumColumns (const int32 InNumColumns)
 
FToolBarStyleSetIconPadding (const FMargin &InIconPadding)
 
FToolBarStyleSetSeparatorPadding (const FMargin &InSeparatorPadding)
 
FToolBarStyleSetSeparatorThickness (float InSeparatorThickness)
 
FToolBarStyleSetComboButtonPadding (const FMargin &InComboButtonPadding)
 
FToolBarStyleSetButtonPadding (const FMargin &InButtonPadding)
 
FToolBarStyleSetCheckBoxPadding (const FMargin &InCheckBoxPadding)
 
FToolBarStyleSetBlockPadding (const FMargin &InBlockPadding)
 
FToolBarStyleSetIndentedBlockPadding (const FMargin &InIndentedBlockPadding)
 
FToolBarStyleSetBlockHovered (const FSlateBrush &InBlockHovered)
 
FToolBarStyleSetBackgroundPadding (const FMargin &InMargin)
 
FToolBarStyleSetWrapButtonStyle (const FWrapButtonStyle &InButtonStyle)
 
FToolBarStyleSetWrapButtonPadding (const FMargin &InWrapButtonPadding)
 
FToolBarStyleSetWrapButtonIndex (int32 InWrapButtonIndex)
 
FToolBarStyleSetAllowWrapButton (bool bInAllowWrapButton)
 
FToolBarStyleSetAllowWrappingDefault (bool bInAllowWrapping)
 
FToolBarStyleSetIconSize (const UE::Slate::FDeprecateVector2DParameter &InIconSize)
 
FToolBarStyleSetShowLabels (bool bInShowLabels)
 
FToolBarStyleSetButtonContentMaxWidth (float InButtonContentMaxWidth)
 
FToolBarStyleSetButtonTextMinWidth (float InButtonTextMinWidth)
 
FToolBarStyleSetButtonTextMaxWidth (float InButtonTextMaxWidth)
 
FToolBarStyleSetButtonContentFillWidth (float InButtonContentFillWidth)
 
FToolBarStyleSetComboLabelMinWidth (float InComboContentMinWidth)
 
FToolBarStyleSetComboLabelMaxWidth (float InComboContentMaxWidth)
 
FToolBarStyleSetComboContentHorizontalAlignment (EHorizontalAlignment InAlignment)
 
FToolBarStyleSetIconPaddingWithVisibleLabel (const FMargin &InIconPaddingWithVisibleLabel)
 
FToolBarStyleSetIconPaddingWithCollapsedLabel (const FMargin &InIconPaddingWithCollapsedLabel)
 
FToolBarStyleSetVerticalAlignment (const EVerticalAlignment &InVerticalAlignment)
 
FToolBarStyleSetRaisedChildrenRightPadding (float InRaisedChildrenRightPadding)
 
- Public Member Functions inherited from FSlateWidgetStyle
SLATECORE_API FSlateWidgetStyle ()
 
virtual SLATECORE_API ~FSlateWidgetStyle ()
 

Static Public Member Functions

static SLATECORE_API const FToolBarStyleGetDefault ()
 

Public Attributes

FSlateBrush BackgroundBrush
 
FSlateBrush ExpandBrush_DEPRECATED
 
FSlateBrush SeparatorBrush
 
FTextBlockStyle LabelStyle
 
FEditableTextBoxStyle EditableTextStyle
 
FCheckBoxStyle ToggleButton
 
FComboButtonStyle ComboButtonStyle
 
FButtonStyle SettingsButtonStyle
 
FComboButtonStyle SettingsComboButton
 
FCheckBoxStyle SettingsToggleButton
 
FButtonStyle ButtonStyle
 
FMargin LabelPadding
 
float UniformBlockWidth
 
float UniformBlockHeight
 
int32 NumColumns
 
FMargin IconPadding
 
FMargin SeparatorPadding
 
float SeparatorThickness
 
FMargin ComboButtonPadding
 
FMargin ButtonPadding
 
FMargin CheckBoxPadding
 
FMargin BlockPadding
 
FMargin IndentedBlockPadding
 
FSlateBrush BlockHovered
 
FMargin BackgroundPadding
 
FWrapButtonStyle WrapButtonStyle
 
FMargin WrapButtonPadding_DEPRECATED
 
int32 WrapButtonIndex_DEPRECATED
 
bool bAllowWrapButton = true
 
bool bAllowWrappingDefault = true
 
FDeprecateSlateVector2D IconSize
 
bool bShowLabels
 
float ButtonContentMaxWidth = 64.0f
 
float ButtonTextMinWidth = 0.0f
 
float ButtonTextMaxWidth = FLT_MAX
 
float ButtonContentFillWidth = 1.0f
 
float ComboContentMinWidth
 
float ComboContentMaxWidth
 
TEnumAsByte< EHorizontalAlignmentComboContentHorizontalAlignment
 
FMargin IconPaddingWithVisibleLabel
 
FMargin IconPaddingWithCollapsedLabel
 
TOptional< TEnumAsByte< EVerticalAlignment > > VerticalAlignmentOverride
 
float RaisedChildrenRightPadding = 0.0f
 

Static Public Attributes

static SLATECORE_API const FName TypeName
 

Detailed Description

Represents the appearance of a toolbar

Constructor & Destructor Documentation

◆ FToolBarStyle() [1/2]

FToolBarStyle::FToolBarStyle ( )

◆ FToolBarStyle() [2/2]

FToolBarStyle::FToolBarStyle ( const FToolBarStyle )
default

◆ ~FToolBarStyle()

FToolBarStyle::~FToolBarStyle ( )
overridevirtualdefault

Member Function Documentation

◆ GetDefault()

const FToolBarStyle & FToolBarStyle::GetDefault ( )
static

◆ GetResources()

void FToolBarStyle::GetResources ( TArray< const FSlateBrush * > &  OutBrushes) const
overridevirtual

Gets the brush resources associated with this style.

This method must be implemented by inherited structures.

Parameters
OutBrushesThe brush resources.

Reimplemented from FSlateWidgetStyle.

◆ GetTypeName()

virtual const FName FToolBarStyle::GetTypeName ( ) const
inlineoverridevirtual

Gets the name of this style.

This method must be implemented by inherited structures.

Returns
Widget style name.

Reimplemented from FSlateWidgetStyle.

◆ SetAllowWrapButton()

FToolBarStyle & FToolBarStyle::SetAllowWrapButton ( bool  bInAllowWrapButton)
inline

◆ SetAllowWrappingDefault()

FToolBarStyle & FToolBarStyle::SetAllowWrappingDefault ( bool  bInAllowWrapping)
inline

◆ SetBackground()

FToolBarStyle & FToolBarStyle::SetBackground ( const FSlateBrush InBackground)
inline

◆ SetBackgroundPadding()

FToolBarStyle & FToolBarStyle::SetBackgroundPadding ( const FMargin InMargin)
inline

◆ SetBlockHovered()

FToolBarStyle & FToolBarStyle::SetBlockHovered ( const FSlateBrush InBlockHovered)
inline

◆ SetBlockPadding()

FToolBarStyle & FToolBarStyle::SetBlockPadding ( const FMargin InBlockPadding)
inline

◆ SetButtonContentFillWidth()

FToolBarStyle & FToolBarStyle::SetButtonContentFillWidth ( float  InButtonContentFillWidth)
inline

◆ SetButtonContentMaxWidth()

FToolBarStyle & FToolBarStyle::SetButtonContentMaxWidth ( float  InButtonContentMaxWidth)
inline

◆ SetButtonPadding()

FToolBarStyle & FToolBarStyle::SetButtonPadding ( const FMargin InButtonPadding)
inline

◆ SetButtonStyle()

FToolBarStyle & FToolBarStyle::SetButtonStyle ( const FButtonStyle InButtonStyle)
inline

◆ SetButtonTextMaxWidth()

FToolBarStyle & FToolBarStyle::SetButtonTextMaxWidth ( float  InButtonTextMaxWidth)
inline

◆ SetButtonTextMinWidth()

FToolBarStyle & FToolBarStyle::SetButtonTextMinWidth ( float  InButtonTextMinWidth)
inline

◆ SetCheckBoxPadding()

FToolBarStyle & FToolBarStyle::SetCheckBoxPadding ( const FMargin InCheckBoxPadding)
inline

◆ SetComboButtonPadding()

FToolBarStyle & FToolBarStyle::SetComboButtonPadding ( const FMargin InComboButtonPadding)
inline

◆ SetComboButtonStyle()

FToolBarStyle & FToolBarStyle::SetComboButtonStyle ( const FComboButtonStyle InComboButtonStyle)
inline

◆ SetComboContentHorizontalAlignment()

FToolBarStyle & FToolBarStyle::SetComboContentHorizontalAlignment ( EHorizontalAlignment  InAlignment)
inline

◆ SetComboLabelMaxWidth()

FToolBarStyle & FToolBarStyle::SetComboLabelMaxWidth ( float  InComboContentMaxWidth)
inline

◆ SetComboLabelMinWidth()

FToolBarStyle & FToolBarStyle::SetComboLabelMinWidth ( float  InComboContentMinWidth)
inline

◆ SetEditableTextStyle()

FToolBarStyle & FToolBarStyle::SetEditableTextStyle ( const FEditableTextBoxStyle InEditableTextStyle)
inline

◆ SetExpandBrush()

FToolBarStyle & FToolBarStyle::SetExpandBrush ( const FSlateBrush InExpandBrush)
inline

◆ SetIconPadding()

FToolBarStyle & FToolBarStyle::SetIconPadding ( const FMargin InIconPadding)
inline

◆ SetIconPaddingWithCollapsedLabel()

FToolBarStyle & FToolBarStyle::SetIconPaddingWithCollapsedLabel ( const FMargin InIconPaddingWithCollapsedLabel)
inline

◆ SetIconPaddingWithVisibleLabel()

FToolBarStyle & FToolBarStyle::SetIconPaddingWithVisibleLabel ( const FMargin InIconPaddingWithVisibleLabel)
inline

◆ SetIconSize()

FToolBarStyle & FToolBarStyle::SetIconSize ( const UE::Slate::FDeprecateVector2DParameter InIconSize)
inline

◆ SetIndentedBlockPadding()

FToolBarStyle & FToolBarStyle::SetIndentedBlockPadding ( const FMargin InIndentedBlockPadding)
inline

◆ SetLabelPadding()

FToolBarStyle & FToolBarStyle::SetLabelPadding ( const FMargin InLabelPadding)
inline

◆ SetLabelStyle()

FToolBarStyle & FToolBarStyle::SetLabelStyle ( const FTextBlockStyle InLabelStyle)
inline

◆ SetNumColumns()

FToolBarStyle & FToolBarStyle::SetNumColumns ( const int32  InNumColumns)
inline

◆ SetRaisedChildrenRightPadding()

FToolBarStyle & FToolBarStyle::SetRaisedChildrenRightPadding ( float  InRaisedChildrenRightPadding)
inline

◆ SetSeparatorBrush()

FToolBarStyle & FToolBarStyle::SetSeparatorBrush ( const FSlateBrush InSeparatorBrush)
inline

◆ SetSeparatorPadding()

FToolBarStyle & FToolBarStyle::SetSeparatorPadding ( const FMargin InSeparatorPadding)
inline

◆ SetSeparatorThickness()

FToolBarStyle & FToolBarStyle::SetSeparatorThickness ( float  InSeparatorThickness)
inline

◆ SetSettingsButtonStyle()

FToolBarStyle & FToolBarStyle::SetSettingsButtonStyle ( const FButtonStyle InSettingsButton)
inline

◆ SetSettingsComboButtonStyle()

FToolBarStyle & FToolBarStyle::SetSettingsComboButtonStyle ( const FComboButtonStyle InSettingsComboButton)
inline

◆ SetSettingsToggleButtonStyle()

FToolBarStyle & FToolBarStyle::SetSettingsToggleButtonStyle ( const FCheckBoxStyle InSettingsToggleButton)
inline

◆ SetShowLabels()

FToolBarStyle & FToolBarStyle::SetShowLabels ( bool  bInShowLabels)
inline

◆ SetToggleButtonStyle()

FToolBarStyle & FToolBarStyle::SetToggleButtonStyle ( const FCheckBoxStyle InToggleButton)
inline

◆ SetUniformBlockHeight()

FToolBarStyle & FToolBarStyle::SetUniformBlockHeight ( const float  InUniformBlockHeight)
inline

◆ SetUniformBlockWidth()

FToolBarStyle & FToolBarStyle::SetUniformBlockWidth ( const float  InUniformBlockWidth)
inline

◆ SetVerticalAlignment()

FToolBarStyle & FToolBarStyle::SetVerticalAlignment ( const EVerticalAlignment InVerticalAlignment)
inline

◆ SetWrapButtonIndex()

FToolBarStyle & FToolBarStyle::SetWrapButtonIndex ( int32  InWrapButtonIndex)
inline

◆ SetWrapButtonPadding()

FToolBarStyle & FToolBarStyle::SetWrapButtonPadding ( const FMargin InWrapButtonPadding)
inline

◆ SetWrapButtonStyle()

FToolBarStyle & FToolBarStyle::SetWrapButtonStyle ( const FWrapButtonStyle InButtonStyle)
inline

Member Data Documentation

◆ BackgroundBrush

FSlateBrush FToolBarStyle::BackgroundBrush

The brush used for the background of the toolbar

◆ BackgroundPadding

FMargin FToolBarStyle::BackgroundPadding

◆ bAllowWrapButton

bool FToolBarStyle::bAllowWrapButton = true

Set to false if the wrap button should never be shown (even if entries are clipped)

◆ bAllowWrappingDefault

bool FToolBarStyle::bAllowWrappingDefault = true

Set to false if the toolbar should not wrap (to the next line) by default, but can be overridden per section or entry

◆ BlockHovered

FSlateBrush FToolBarStyle::BlockHovered

Hovered brush for an entire block

◆ BlockPadding

FMargin FToolBarStyle::BlockPadding

◆ bShowLabels

bool FToolBarStyle::bShowLabels

◆ ButtonContentFillWidth

float FToolBarStyle::ButtonContentFillWidth = 1.0f

◆ ButtonContentMaxWidth

float FToolBarStyle::ButtonContentMaxWidth = 64.0f

◆ ButtonPadding

FMargin FToolBarStyle::ButtonPadding

◆ ButtonStyle

FButtonStyle FToolBarStyle::ButtonStyle

◆ ButtonTextMaxWidth

float FToolBarStyle::ButtonTextMaxWidth = FLT_MAX

◆ ButtonTextMinWidth

float FToolBarStyle::ButtonTextMinWidth = 0.0f

◆ CheckBoxPadding

FMargin FToolBarStyle::CheckBoxPadding

◆ ComboButtonPadding

FMargin FToolBarStyle::ComboButtonPadding

◆ ComboButtonStyle

FComboButtonStyle FToolBarStyle::ComboButtonStyle

◆ ComboContentHorizontalAlignment

TEnumAsByte<EHorizontalAlignment> FToolBarStyle::ComboContentHorizontalAlignment

◆ ComboContentMaxWidth

float FToolBarStyle::ComboContentMaxWidth

Max width that label text block slot in combo buttons should have. 0 means no max.

◆ ComboContentMinWidth

float FToolBarStyle::ComboContentMinWidth

Min width that label text block slot in combo buttons should have.

◆ EditableTextStyle

FEditableTextBoxStyle FToolBarStyle::EditableTextStyle

◆ ExpandBrush_DEPRECATED

FSlateBrush FToolBarStyle::ExpandBrush_DEPRECATED

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

◆ IconPadding

FMargin FToolBarStyle::IconPadding

◆ IconPaddingWithCollapsedLabel

FMargin FToolBarStyle::IconPaddingWithCollapsedLabel

◆ IconPaddingWithVisibleLabel

FMargin FToolBarStyle::IconPaddingWithVisibleLabel

◆ IconSize

FDeprecateSlateVector2D FToolBarStyle::IconSize

◆ IndentedBlockPadding

FMargin FToolBarStyle::IndentedBlockPadding

◆ LabelPadding

FMargin FToolBarStyle::LabelPadding

◆ LabelStyle

FTextBlockStyle FToolBarStyle::LabelStyle

◆ NumColumns

int32 FToolBarStyle::NumColumns

◆ RaisedChildrenRightPadding

float FToolBarStyle::RaisedChildrenRightPadding = 0.0f

◆ SeparatorBrush

FSlateBrush FToolBarStyle::SeparatorBrush

◆ SeparatorPadding

FMargin FToolBarStyle::SeparatorPadding

◆ SeparatorThickness

float FToolBarStyle::SeparatorThickness

◆ SettingsButtonStyle

FButtonStyle FToolBarStyle::SettingsButtonStyle

◆ SettingsComboButton

FComboButtonStyle FToolBarStyle::SettingsComboButton

◆ SettingsToggleButton

FCheckBoxStyle FToolBarStyle::SettingsToggleButton

◆ ToggleButton

FCheckBoxStyle FToolBarStyle::ToggleButton

◆ TypeName

const FName FToolBarStyle::TypeName
static

◆ UniformBlockHeight

float FToolBarStyle::UniformBlockHeight

◆ UniformBlockWidth

float FToolBarStyle::UniformBlockWidth

◆ VerticalAlignmentOverride

TOptional<TEnumAsByte<EVerticalAlignment> > FToolBarStyle::VerticalAlignmentOverride

◆ WrapButtonIndex_DEPRECATED

int32 FToolBarStyle::WrapButtonIndex_DEPRECATED

◆ WrapButtonPadding_DEPRECATED

FMargin FToolBarStyle::WrapButtonPadding_DEPRECATED

◆ WrapButtonStyle

FWrapButtonStyle FToolBarStyle::WrapButtonStyle

The documentation for this struct was generated from the following files: