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 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.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 scrollbarstext_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:
- property background_image_focused: SlateBrush¶
[Read-Write] Background Image Focused: Border background image when the box is focused
- Type:
- property background_image_hovered: SlateBrush¶
[Read-Write] Background Image Hovered: Border background image when the box is hovered
- Type:
- property background_image_normal: SlateBrush¶
[Read-Write] Background Image Normal: Border background image when the box is not hovered or focused
- Type:
- property background_image_read_only: SlateBrush¶
[Read-Write] Background Image Read Only: Border background image when the box is read-only
- Type:
- property focused_foreground_color: SlateColor¶
[Read-Write] Focused Foreground Color: The foreground color of text when the edit box has keyboard focus.
- Type:
- property foreground_color: SlateColor¶
[Read-Write] Foreground Color: The foreground color of text.
- Type:
- property h_scroll_bar_padding: Margin¶
[Read-Write] HScroll Bar Padding: Padding around the horizontal scrollbar
- 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:
- property scroll_bar_style: ScrollBarStyle¶
[Read-Write] Scroll Bar Style: Style used for the scrollbars
- Type:
- 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: