unreal.ComboButtonStyle

class unreal.ComboButtonStyle(button_style=[[[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [None], [None]], down_arrow_image=[[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], shadow_offset=[0.0, 0.0], shadow_color_and_opacity=[0.0, 0.0, 0.0, 1.0], menu_border_brush=[[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], menu_border_padding=[0.0, 0.0, 0.0, 0.0], content_padding=[5.0, 5.0, 5.0, 5.0], down_arrow_padding=[2.0, 2.0, 2.0, 2.0], down_arrow_align=VerticalAlignment.V_ALIGN_CENTER)

Bases: unreal.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

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

Type

(ButtonStyle)

property content_padding

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

Type

(Margin)

property down_arrow_align

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

Type

(VerticalAlignment)

property down_arrow_image

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

Type

(SlateBrush)

property down_arrow_padding

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

Type

(Margin)

property menu_border_brush

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

Type

(SlateBrush)

property menu_border_padding

[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

[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

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

Type

(Vector2D)