unreal.ToolBarStyle

class unreal.ToolBarStyle(background_brush: SlateBrush = Ellipsis, expand_brush: SlateBrush = Ellipsis, separator_brush: SlateBrush = Ellipsis, label_style: TextBlockStyle = Ellipsis, editable_text_style: EditableTextBoxStyle = Ellipsis, toggle_button: CheckBoxStyle = Ellipsis, combo_button_style: ComboButtonStyle = Ellipsis, settings_button_style: ButtonStyle = Ellipsis, settings_combo_button: ComboButtonStyle = Ellipsis, settings_toggle_button: CheckBoxStyle = Ellipsis, button_style: ButtonStyle = Ellipsis, label_padding: Margin = Ellipsis, separator_padding: Margin = Ellipsis, combo_button_padding: Margin = Ellipsis, button_padding: Margin = Ellipsis, check_box_padding: Margin = Ellipsis, block_padding: Margin = Ellipsis, indented_block_padding: Margin = Ellipsis, background_padding: Margin = Ellipsis, icon_size: DeprecateSlateVector2D = Ellipsis, show_labels: bool = False)

Bases: SlateWidgetStyle

Represents the appearance of a toolbar

C++ Source:

  • Module: SlateCore

  • File: ToolBarStyle.h

Editor Properties: (see get_editor_property/set_editor_property)

  • background_brush (SlateBrush): [Read-Write] The brush used for the background of the toolbar

  • background_padding (Margin): [Read-Write]

  • block_padding (Margin): [Read-Write]

  • button_padding (Margin): [Read-Write]

  • button_style (ButtonStyle): [Read-Write]

  • check_box_padding (Margin): [Read-Write]

  • combo_button_padding (Margin): [Read-Write]

  • combo_button_style (ComboButtonStyle): [Read-Write]

  • editable_text_style (EditableTextBoxStyle): [Read-Write]

  • expand_brush (SlateBrush): [Read-Write] The brush used for the expand arrow when the toolbar runs out of room and needs to display toolbar items in a menu

  • icon_size (DeprecateSlateVector2D): [Read-Write]

  • indented_block_padding (Margin): [Read-Write]

  • label_padding (Margin): [Read-Write]

  • label_style (TextBlockStyle): [Read-Write]

  • separator_brush (SlateBrush): [Read-Write]

  • separator_padding (Margin): [Read-Write]

  • settings_button_style (ButtonStyle): [Read-Write]

  • settings_combo_button (ComboButtonStyle): [Read-Write]

  • settings_toggle_button (CheckBoxStyle): [Read-Write]

  • show_labels (bool): [Read-Write]

  • toggle_button (CheckBoxStyle): [Read-Write]

property background_brush: SlateBrush

[Read-Write] The brush used for the background of the toolbar

Type:

(SlateBrush)

property background_padding: Margin

[Read-Write]

Type:

(Margin)

property block_padding: Margin

[Read-Write]

Type:

(Margin)

property button_padding: Margin

[Read-Write]

Type:

(Margin)

property button_style: ButtonStyle

[Read-Write]

Type:

(ButtonStyle)

property check_box_padding: Margin

[Read-Write]

Type:

(Margin)

property combo_button_padding: Margin

[Read-Write]

Type:

(Margin)

property combo_button_style: ComboButtonStyle

[Read-Write]

Type:

(ComboButtonStyle)

property editable_text_style: EditableTextBoxStyle

[Read-Write]

Type:

(EditableTextBoxStyle)

property expand_brush: SlateBrush

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

Type:

(SlateBrush)

property icon_size: DeprecateSlateVector2D

[Read-Write]

Type:

(DeprecateSlateVector2D)

property indented_block_padding: Margin

[Read-Write]

Type:

(Margin)

property label_padding: Margin

[Read-Write]

Type:

(Margin)

property label_style: TextBlockStyle

[Read-Write]

Type:

(TextBlockStyle)

property separator_brush: SlateBrush

[Read-Write]

Type:

(SlateBrush)

property separator_padding: Margin

[Read-Write]

Type:

(Margin)

property settings_button_style: ButtonStyle

[Read-Write]

Type:

(ButtonStyle)

property settings_combo_button: ComboButtonStyle

[Read-Write]

Type:

(ComboButtonStyle)

property settings_toggle_button: CheckBoxStyle

[Read-Write]

Type:

(CheckBoxStyle)

property show_labels: bool

[Read-Write]

Type:

(bool)

property toggle_button: CheckBoxStyle

[Read-Write]

Type:

(CheckBoxStyle)