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], 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 image
  • background_image_focused (SlateBrush): [Read-Write] Border background image when the box is focused
  • background_image_hovered (SlateBrush): [Read-Write] Border background image when the box is hovered
  • background_image_normal (SlateBrush): [Read-Write] Border background image when the box is not hovered or focused
  • background_image_read_only (SlateBrush): [Read-Write] Border background image when the box is read-only
  • font (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 scrollbar
  • padding (Margin): [Read-Write] Padding
  • read_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 scrollbars
  • v_scroll_bar_padding (Margin): [Read-Write] Padding around the vertical scrollbar
background_color

(SlateColor) – [Read-Write] The background color applied to the active background image

background_image_focused

(SlateBrush) – [Read-Write] Border background image when the box is focused

background_image_hovered

(SlateBrush) – [Read-Write] Border background image when the box is hovered

background_image_normal

(SlateBrush) – [Read-Write] Border background image when the box is not hovered or focused

background_image_read_only

(SlateBrush) – [Read-Write] Border background image when the box is read-only

font

(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 scrollbar

padding

(Margin) – [Read-Write] Padding

read_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 scrollbars

v_scroll_bar_padding

(Margin) – [Read-Write] Padding around the vertical scrollbar