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 Paddingdown_arrow_align
(VerticalAlignment): [Read-Write] * Dropdown arrow vertical alignmentdown_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:
- property down_arrow_align: VerticalAlignment¶
[Read-Write] * Dropdown arrow vertical alignment
- Type:
- property down_arrow_image: SlateBrush¶
[Read-Write] Image to use for the down arrow.
- Type:
- 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:
- 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:
- 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: