unreal.ComboButtonStyle

class unreal.ComboButtonStyle(button_style: ButtonStyle = Ellipsis, down_arrow_image: SlateBrush = Ellipsis, shadow_offset: Vector2D = 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] Button Style: The style to use for our SButton.

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

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

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

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

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

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

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

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

property button_style: ButtonStyle

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

Type:

(ButtonStyle)

property content_padding: Margin

[Read-Write] Content Padding: * Button Content Padding

Type:

(Margin)

property down_arrow_align: VerticalAlignment

[Read-Write] Down Arrow Align: * Dropdown arrow vertical alignment

Type:

(VerticalAlignment)

property down_arrow_image: SlateBrush

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

Type:

(SlateBrush)

property down_arrow_padding: Margin

[Read-Write] Down Arrow Padding: * Dropdown arrow padding (if a dropdown arrow exists)

Type:

(Margin)

property menu_border_brush: SlateBrush

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

Type:

(SlateBrush)

property menu_border_padding: Margin

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

Type:

(Margin)

property shadow_color_and_opacity: LinearColor

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

Type:

(LinearColor)

property shadow_offset: Vector2D

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

Type:

(Vector2D)