unreal.EditableTextBoxStyle

class unreal.EditableTextBoxStyle(background_image_normal: SlateBrush = Ellipsis, background_image_hovered: SlateBrush = Ellipsis, background_image_focused: SlateBrush = Ellipsis, background_image_read_only: SlateBrush = Ellipsis, padding: Margin = Ellipsis, text_style: TextBlockStyle = Ellipsis, foreground_color: SlateColor = Ellipsis, background_color: SlateColor = Ellipsis, read_only_foreground_color: SlateColor = Ellipsis, focused_foreground_color: SlateColor = Ellipsis, h_scroll_bar_padding: Margin = Ellipsis, v_scroll_bar_padding: Margin = Ellipsis, scroll_bar_style: ScrollBarStyle = Ellipsis)

Bases: 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 image

  • background_image_focused (SlateBrush): [Read-Write] Background Image Focused: Border background image when the box is focused

  • background_image_hovered (SlateBrush): [Read-Write] Background Image Hovered: Border background image when the box is hovered

  • background_image_normal (SlateBrush): [Read-Write] Background Image Normal: Border background image when the box is not hovered or focused

  • background_image_read_only (SlateBrush): [Read-Write] Background Image Read Only: Border background image when the box is read-only

  • focused_foreground_color (SlateColor): [Read-Write] Focused Foreground Color: The foreground color of text when the edit box has keyboard focus.

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

  • padding (Margin): [Read-Write] Padding: Padding

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

  • text_style (TextBlockStyle): [Read-Write] Text Style: The style of the text block, which dictates the font, color, and shadow options. Style overrides all other properties!

  • v_scroll_bar_padding (Margin): [Read-Write] VScroll Bar Padding: Padding around the vertical scrollbar

property background_color: SlateColor

[Read-Write] Background Color: The background color applied to the active background image

Type:

(SlateColor)

property background_image_focused: SlateBrush

[Read-Write] Background Image Focused: Border background image when the box is focused

Type:

(SlateBrush)

property background_image_hovered: SlateBrush

[Read-Write] Background Image Hovered: Border background image when the box is hovered

Type:

(SlateBrush)

property background_image_normal: SlateBrush

[Read-Write] Background Image Normal: Border background image when the box is not hovered or focused

Type:

(SlateBrush)

property background_image_read_only: SlateBrush

[Read-Write] Background Image Read Only: Border background image when the box is read-only

Type:

(SlateBrush)

property focused_foreground_color: SlateColor

[Read-Write] Focused Foreground Color: The foreground color of text when the edit box has keyboard focus.

Type:

(SlateColor)

property foreground_color: SlateColor

[Read-Write] Foreground Color: The foreground color of text.

Type:

(SlateColor)

property h_scroll_bar_padding: Margin

[Read-Write] HScroll Bar Padding: Padding around the horizontal scrollbar

Type:

(Margin)

property padding: Margin

[Read-Write] Padding: Padding

Type:

(Margin)

property read_only_foreground_color: SlateColor

[Read-Write] Read Only Foreground Color: The read-only foreground color of text in read-only mode.

Type:

(SlateColor)

property scroll_bar_style: ScrollBarStyle

[Read-Write] Scroll Bar Style: Style used for the scrollbars

Type:

(ScrollBarStyle)

property text_style: TextBlockStyle

[Read-Write] Text Style: The style of the text block, which dictates the font, color, and shadow options. Style overrides all other properties!

Type:

(TextBlockStyle)

property v_scroll_bar_padding: Margin

[Read-Write] VScroll Bar Padding: Padding around the vertical scrollbar

Type:

(Margin)