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 Brushactive_fill_brush
(SlateBrush): [Read-Write] Active Fill Brush: Brush used to fill the spinbox when it’s activearrows_image
(SlateBrush): [Read-Write] Arrows Image: Image used to draw the spinbox arrowsbackground_brush
(SlateBrush): [Read-Write] Background Brush: Brush used to draw the background of the spinboxhovered_background_brush
(SlateBrush): [Read-Write] Hovered Background Brush: Brush used to draw the background of the spinbox when it’s hovered overhovered_fill_brush
(SlateBrush): [Read-Write] Hovered Fill Brush: Brush used to fill the spinbox when it’s hovered and not activeinactive_fill_brush
(SlateBrush): [Read-Write] Inactive Fill Brush: Brush used to fill the spinbox when it’s inactiveinset_padding
(Margin): [Read-Write] Inset Padding: Padding between the background brush and the fill brushtext_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
- property active_fill_brush¶
[Read-Write] Active Fill Brush: Brush used to fill the spinbox when it’s active
- Type
- property arrows_image¶
[Read-Write] Arrows Image: Image used to draw the spinbox arrows
- Type
- property background_brush¶
[Read-Write] Background Brush: Brush used to draw the background of the spinbox
- Type
- property hovered_background_brush¶
[Read-Write] Hovered Background Brush: Brush used to draw the background of the spinbox when it’s hovered over
- Type
- property hovered_fill_brush¶
[Read-Write] Hovered Fill Brush: Brush used to fill the spinbox when it’s hovered and not active
- Type
- property inactive_fill_brush¶
[Read-Write] Inactive Fill Brush: Brush used to fill the spinbox when it’s inactive
- Type