unreal.EditableTextBoxStyle
¶
- class unreal.EditableTextBoxStyle(background_image_normal=[[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], background_image_hovered=[[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], background_image_focused=[[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], background_image_read_only=[[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], padding=[4.0, 2.0, 4.0, 2.0], font=[None, None, [0, False, False, None, [0.0, 0.0, 0.0, 1.0]], 'Regular', 9, 0], foreground_color=[[0.0, 0.0, 0.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], background_color=[[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], read_only_foreground_color=[[0.72, 0.72, 0.72, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], h_scroll_bar_padding=[0.0, 0.0, 0.0, 0.0], v_scroll_bar_padding=[0.0, 0.0, 0.0, 0.0], scroll_bar_style=[[[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR]])¶
Bases:
unreal.SlateWidgetStyle
Represents the appearance of an SEditableTextBox
C++ Source:
Module: SlateCore
File: SlateTypes.h
Editor Properties: (see get_editor_property/set_editor_property)
background_color
(SlateColor): [Read-Write] The background color applied to the active background imagebackground_image_focused
(SlateBrush): [Read-Write] Border background image when the box is focusedbackground_image_hovered
(SlateBrush): [Read-Write] Border background image when the box is hoveredbackground_image_normal
(SlateBrush): [Read-Write] Border background image when the box is not hovered or focusedbackground_image_read_only
(SlateBrush): [Read-Write] Border background image when the box is read-onlyfont
(SlateFontInfo): [Read-Write] Font family and size to be used when displaying this text.foreground_color
(SlateColor): [Read-Write] The foreground color of text.h_scroll_bar_padding
(Margin): [Read-Write] Padding around the horizontal scrollbarpadding
(Margin): [Read-Write] Paddingread_only_foreground_color
(SlateColor): [Read-Write] The read-only foreground color of text in read-only mode.scroll_bar_style
(ScrollBarStyle): [Read-Write] Style used for the scrollbarsv_scroll_bar_padding
(Margin): [Read-Write] Padding around the vertical scrollbar
- property background_color¶
[Read-Write] The background color applied to the active background image
- Type
- property background_image_focused¶
[Read-Write] Border background image when the box is focused
- Type
- property background_image_hovered¶
[Read-Write] Border background image when the box is hovered
- Type
- property background_image_normal¶
[Read-Write] Border background image when the box is not hovered or focused
- Type
- property background_image_read_only¶
[Read-Write] Border background image when the box is read-only
- Type
- property font¶
[Read-Write] Font family and size to be used when displaying this text.
- Type
- property foreground_color¶
[Read-Write] The foreground color of text.
- Type
- property read_only_foreground_color¶
[Read-Write] The read-only foreground color of text in read-only mode.
- Type
- property scroll_bar_style¶
[Read-Write] Style used for the scrollbars
- Type