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], [[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], active_background_brush=[[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], 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], [[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], 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], [[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], hovered_fill_brush=[[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], 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], [[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], 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], [[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], text_padding=[1.0, 2.0, 1.0, 2.0], inset_padding=[0.0, 0.0, 0.0, 0.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_background_brush (SlateBrush): [Read-Write] Active Background Brush

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

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

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

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

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

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

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

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

property active_background_brush

[Read-Write] Active Background Brush

Type

(SlateBrush)

property active_fill_brush

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

Type

(SlateBrush)

property arrows_image

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

Type

(SlateBrush)

property background_brush

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

Type

(SlateBrush)

property hovered_background_brush

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

Type

(SlateBrush)

property hovered_fill_brush

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

Type

(SlateBrush)

property inactive_fill_brush

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

Type

(SlateBrush)

property inset_padding

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

Type

(Margin)

property text_padding

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

Type

(Margin)