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], [[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], 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], [[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], 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], [[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], 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], [[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], 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=[[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], background_color=[[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], read_only_foreground_color=[[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], focused_foreground_color=[[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], 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], [[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], [[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], [[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], [[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], [[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], [[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], [[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], [[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], [[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], 16.0])¶
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] Background Color: The background color applied to the active background imagebackground_image_focused
(SlateBrush): [Read-Write] Background Image Focused: Border background image when the box is focusedbackground_image_hovered
(SlateBrush): [Read-Write] Background Image Hovered: Border background image when the box is hoveredbackground_image_normal
(SlateBrush): [Read-Write] Background Image Normal: Border background image when the box is not hovered or focusedbackground_image_read_only
(SlateBrush): [Read-Write] Background Image Read Only: Border background image when the box is read-onlyfocused_foreground_color
(SlateColor): [Read-Write] Focused Foreground Color: The foreground color of text when the edit box has keyboard focus.font
(SlateFontInfo): [Read-Write] Font: Font family and size to be used when displaying this text.foreground_color
(SlateColor): [Read-Write] Foreground Color: The foreground color of text.h_scroll_bar_padding
(Margin): [Read-Write] HScroll Bar Padding: Padding around the horizontal scrollbarpadding
(Margin): [Read-Write] Padding: Paddingread_only_foreground_color
(SlateColor): [Read-Write] Read Only Foreground Color: The read-only foreground color of text in read-only mode.scroll_bar_style
(ScrollBarStyle): [Read-Write] Scroll Bar Style: Style used for the scrollbarsv_scroll_bar_padding
(Margin): [Read-Write] VScroll Bar Padding: Padding around the vertical scrollbar
- property background_color¶
[Read-Write] Background Color: The background color applied to the active background image
- Type
- property background_image_focused¶
[Read-Write] Background Image Focused: Border background image when the box is focused
- Type
- property background_image_hovered¶
[Read-Write] Background Image Hovered: Border background image when the box is hovered
- Type
- property background_image_normal¶
[Read-Write] Background Image Normal: Border background image when the box is not hovered or focused
- Type
- property background_image_read_only¶
[Read-Write] Background Image Read Only: Border background image when the box is read-only
- Type
- property focused_foreground_color¶
[Read-Write] Focused Foreground Color: The foreground color of text when the edit box has keyboard focus.
- Type
- property font¶
[Read-Write] Font: Font family and size to be used when displaying this text.
- Type
- property foreground_color¶
[Read-Write] Foreground Color: The foreground color of text.
- Type
- property h_scroll_bar_padding¶
[Read-Write] HScroll Bar Padding: Padding around the horizontal scrollbar
- Type
(Margin)
- property read_only_foreground_color¶
[Read-Write] Read Only Foreground Color: The read-only foreground color of text in read-only mode.
- Type
- property scroll_bar_style¶
[Read-Write] Scroll Bar Style: Style used for the scrollbars
- Type