unreal.SpinBoxStyle

class unreal.SpinBoxStyle(background_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], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], hovered_background_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], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], active_fill_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], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], inactive_fill_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], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], arrows_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], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], text_padding=[1.0, 2.0, 1.0, 2.0])

Bases: unreal.SlateWidgetStyle

Represents the appearance of an SSpinBox

C++ Source:

  • Module: SlateCore

  • File: SlateTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • 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

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

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

property active_fill_brush

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

Type

(SlateBrush)

property arrows_image

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

Type

(SlateBrush)

property background_brush

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

Type

(SlateBrush)

property hovered_background_brush

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

Type

(SlateBrush)

property inactive_fill_brush

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

Type

(SlateBrush)

property text_padding

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

Type

(Margin)