unreal.SpinBoxStyle

class unreal.SpinBoxStyle(background_brush: SlateBrush = Ellipsis, active_background_brush: SlateBrush = Ellipsis, hovered_background_brush: SlateBrush = Ellipsis, active_fill_brush: SlateBrush = Ellipsis, hovered_fill_brush: SlateBrush = Ellipsis, inactive_fill_brush: SlateBrush = Ellipsis, arrows_image: SlateBrush = Ellipsis, text_padding: Margin = Ellipsis, inset_padding: Margin = Ellipsis)

Bases: SlateWidgetStyle

Represents the appearance of an SSpinBox

C++ Source:

  • Module: SlateCore

  • File: SlateTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • active_background_brush (SlateBrush): [Read-Write]

  • active_fill_brush (SlateBrush): [Read-Write] Brush used to fill the spinbox when it’s active

  • arrows_image (SlateBrush): [Read-Write] Image used to draw the spinbox arrows

  • background_brush (SlateBrush): [Read-Write] Brush used to draw the background of the spinbox

  • hovered_background_brush (SlateBrush): [Read-Write] Brush used to draw the background of the spinbox when it’s hovered over

  • hovered_fill_brush (SlateBrush): [Read-Write] Brush used to fill the spinbox when it’s hovered and not active

  • inactive_fill_brush (SlateBrush): [Read-Write] Brush used to fill the spinbox when it’s inactive

  • inset_padding (Margin): [Read-Write] Padding between the background brush and the fill brush

  • text_padding (Margin): [Read-Write] Padding to add around the spinbox and its text

property active_background_brush: SlateBrush

[Read-Write]

Type:

(SlateBrush)

property active_fill_brush: SlateBrush

[Read-Write] Brush used to fill the spinbox when it’s active

Type:

(SlateBrush)

property arrows_image: SlateBrush

[Read-Write] Image used to draw the spinbox arrows

Type:

(SlateBrush)

property background_brush: SlateBrush

[Read-Write] Brush used to draw the background of the spinbox

Type:

(SlateBrush)

property hovered_background_brush: SlateBrush

[Read-Write] Brush used to draw the background of the spinbox when it’s hovered over

Type:

(SlateBrush)

property hovered_fill_brush: SlateBrush

[Read-Write] Brush used to fill the spinbox when it’s hovered and not active

Type:

(SlateBrush)

property inactive_fill_brush: SlateBrush

[Read-Write] Brush used to fill the spinbox when it’s inactive

Type:

(SlateBrush)

property inset_padding: Margin

[Read-Write] Padding between the background brush and the fill brush

Type:

(Margin)

property text_padding: Margin

[Read-Write] Padding to add around the spinbox and its text

Type:

(Margin)