unreal.WrapButtonStyle

class unreal.WrapButtonStyle(padding: Margin = Ellipsis, wrap_button_index: int = 0, expand_brush: SlateBrush = Ellipsis, has_down_arrow: bool = False, combo_button_style: ComboButtonStyle | None = Ellipsis, include_separator: bool = False, separator_brush: SlateBrush | None = Ellipsis, separator_thickness: float | None = Ellipsis, separator_padding: Margin | None = Ellipsis)

Bases: StructBase

Wrap Button Style

C++ Source:

  • Module: SlateCore

  • File: ToolBarStyle.h

Editor Properties: (see get_editor_property/set_editor_property)

  • combo_button_style (Optional[ComboButtonStyle]): [Read-Write] The styling of the combo button that opens the wrapping menu

  • 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

  • has_down_arrow (bool): [Read-Write] Whether the combo box includes a down arrow

  • include_separator (bool): [Read-Write] Whether a separator should appear adjacent to the combo button

  • padding (Margin): [Read-Write] The padding around the wrap button

  • separator_brush (Optional[SlateBrush]): [Read-Write] The appearance of the separator

  • separator_padding (Optional[Margin]): [Read-Write] Any padding around the separator

  • separator_thickness (Optional[float]): [Read-Write] How wide/tall the separator should be

  • wrap_button_index (int32): [Read-Write] Where in the toolbar the wrap button should appear. e.g. 0 for the left side, -1 for the right side.

property combo_button_style: ComboButtonStyle | None

[Read-Write] The styling of the combo button that opens the wrapping menu

Type:

(Optional[ComboButtonStyle])

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 has_down_arrow: bool

[Read-Write] Whether the combo box includes a down arrow

Type:

(bool)

property include_separator: bool

[Read-Write] Whether a separator should appear adjacent to the combo button

Type:

(bool)

property padding: Margin

[Read-Write] The padding around the wrap button

Type:

(Margin)

property separator_brush: SlateBrush | None

[Read-Write] The appearance of the separator

Type:

(Optional[SlateBrush])

property separator_padding: Margin | None

[Read-Write] Any padding around the separator

Type:

(Optional[Margin])

property separator_thickness: float | None

[Read-Write] How wide/tall the separator should be

Type:

(Optional[float])

property wrap_button_index: int

[Read-Write] Where in the toolbar the wrap button should appear. e.g. 0 for the left side, -1 for the right side.

Type:

(int32)