unreal.ComboButtonStyle

class unreal.ComboButtonStyle(button_style: ButtonStyle = Ellipsis, down_arrow_image: SlateBrush = Ellipsis, shadow_offset: DeprecateSlateVector2D = Ellipsis, shadow_color_and_opacity: LinearColor = Ellipsis, menu_border_brush: SlateBrush = Ellipsis, menu_border_padding: Margin = Ellipsis, content_padding: Margin = Ellipsis, down_arrow_padding: Margin = Ellipsis, down_arrow_align: VerticalAlignment = Ellipsis)

Bases: SlateWidgetStyle

Represents the appearance of an SComboButton

C++ Source:

  • Module: SlateCore

  • File: SlateTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • button_style (ButtonStyle): [Read-Write] The style to use for our SButton.

  • content_padding (Margin): [Read-Write] * Button Content Padding

  • down_arrow_align (VerticalAlignment): [Read-Write] * Dropdown arrow vertical alignment

  • down_arrow_image (SlateBrush): [Read-Write] Image to use for the down arrow.

  • down_arrow_padding (Margin): [Read-Write] * Dropdown arrow padding (if a dropdown arrow exists)

  • menu_border_brush (SlateBrush): [Read-Write] Brush to use to add a “menu border” around the drop-down content.

  • menu_border_padding (Margin): [Read-Write] Padding to use to add a “menu border” around the drop-down content.

  • shadow_color_and_opacity (LinearColor): [Read-Write] The color and opacity of the shadow for the down arrow. Only active if ShadowOffset is not (0,0).

  • shadow_offset (DeprecateSlateVector2D): [Read-Write] How much should the shadow be offset for the down arrow? An offset of 0 implies no shadow.

property button_style: ButtonStyle

[Read-Write] The style to use for our SButton.

Type:

(ButtonStyle)

property content_padding: Margin

[Read-Write] * Button Content Padding

Type:

(Margin)

property down_arrow_align: VerticalAlignment

[Read-Write] * Dropdown arrow vertical alignment

Type:

(VerticalAlignment)

property down_arrow_image: SlateBrush

[Read-Write] Image to use for the down arrow.

Type:

(SlateBrush)

property down_arrow_padding: Margin

[Read-Write] * Dropdown arrow padding (if a dropdown arrow exists)

Type:

(Margin)

property menu_border_brush: SlateBrush

[Read-Write] Brush to use to add a “menu border” around the drop-down content.

Type:

(SlateBrush)

property menu_border_padding: Margin

[Read-Write] Padding to use to add a “menu border” around the drop-down content.

Type:

(Margin)

property shadow_color_and_opacity: LinearColor

[Read-Write] The color and opacity of the shadow for the down arrow. Only active if ShadowOffset is not (0,0).

Type:

(LinearColor)

property shadow_offset: DeprecateSlateVector2D

[Read-Write] How much should the shadow be offset for the down arrow? An offset of 0 implies no shadow.

Type:

(DeprecateSlateVector2D)