Navigation
API > API/Runtime > API/Runtime/SlateCore
Represents the appearance of an SEditableTextBox
| Name | FEditableTextBoxStyle |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include Path | #include "Styling/SlateTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FEditableTextBoxStyle : public FSlateWidgetStyle
Inheritance Hierarchy
- FSlateWidgetStyle → FEditableTextBoxStyle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEditableTextBoxStyle
(
const FEditableTextBoxStyle& |
Styling/SlateTypes.h | ||
| Styling/SlateTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FEditableTextBoxStyle() |
Styling/SlateTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeName | const FName | Styling/SlateTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BackgroundColor | FSlateColor | The background color applied to the active background image | Styling/SlateTypes.h |
|
| BackgroundImageFocused | FSlateBrush | Border background image when the box is focused | Styling/SlateTypes.h |
|
| BackgroundImageHovered | FSlateBrush | Border background image when the box is hovered | Styling/SlateTypes.h |
|
| BackgroundImageNormal | FSlateBrush | Border background image when the box is not hovered or focused | Styling/SlateTypes.h |
|
| BackgroundImageReadOnly | FSlateBrush | Border background image when the box is read-only | Styling/SlateTypes.h |
|
| FocusedForegroundColor | FSlateColor | The foreground color of text when the edit box has keyboard focus. | Styling/SlateTypes.h |
|
| ForegroundColor | FSlateColor | The foreground color of text. | Styling/SlateTypes.h |
|
| HScrollBarPadding | FMargin | Padding around the horizontal scrollbar | Styling/SlateTypes.h |
|
| Padding | FMargin | Padding | Styling/SlateTypes.h |
|
| ReadOnlyForegroundColor | FSlateColor | The read-only foreground color of text in read-only mode. | Styling/SlateTypes.h |
|
| ScrollBarStyle | FScrollBarStyle | Style used for the scrollbars | Styling/SlateTypes.h |
|
| TextStyle | FTextBlockStyle | The style of the text block, which dictates the font, color, and shadow options. | Styling/SlateTypes.h |
|
| VScrollBarPadding | FMargin | Padding around the vertical scrollbar | Styling/SlateTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEditableTextBoxStyle & SetBackgroundColor
(
const FSlateColor& InBackgroundColor |
Styling/SlateTypes.h | ||
FEditableTextBoxStyle & SetBackgroundImageFocused
(
const FSlateBrush& InBackgroundImageFocused |
Styling/SlateTypes.h | ||
FEditableTextBoxStyle & SetBackgroundImageHovered
(
const FSlateBrush& InBackgroundImageHovered |
Styling/SlateTypes.h | ||
FEditableTextBoxStyle & SetBackgroundImageNormal
(
const FSlateBrush& InBackgroundImageNormal |
Styling/SlateTypes.h | ||
FEditableTextBoxStyle & SetBackgroundImageReadOnly
(
const FSlateBrush& InBackgroundImageReadOnly |
Styling/SlateTypes.h | ||
FEditableTextBoxStyle & SetFocusedForegroundColor
(
const FSlateColor& InFocusedForegroundColor |
Styling/SlateTypes.h | ||
FEditableTextBoxStyle & SetFont
(
const FName& InFontName, |
Styling/SlateTypes.h | ||
FEditableTextBoxStyle & SetFont
(
const FSlateFontInfo& InFont |
Styling/SlateTypes.h | ||
FEditableTextBoxStyle & SetForegroundColor
(
const FSlateColor& InForegroundColor |
Styling/SlateTypes.h | ||
FEditableTextBoxStyle & SetHScrollBarPadding
(
const FMargin& InPadding |
Styling/SlateTypes.h | ||
FEditableTextBoxStyle & SetPadding
(
const FMargin& InPadding |
Styling/SlateTypes.h | ||
FEditableTextBoxStyle & SetReadOnlyForegroundColor
(
const FSlateColor& InReadOnlyForegroundColor |
Styling/SlateTypes.h | ||
FEditableTextBoxStyle & SetScrollBarStyle
(
const FScrollBarStyle& InScrollBarStyle |
Styling/SlateTypes.h | ||
FEditableTextBoxStyle & SetTextStyle
(
const FTextBlockStyle& InTextStyle |
Styling/SlateTypes.h | ||
FEditableTextBoxStyle & SetVScrollBarPadding
(
const FMargin& InPadding |
Styling/SlateTypes.h | ||
void UnlinkColors () |
Unlinks all colors in this style. | Styling/SlateTypes.h |
Overridden from FSlateWidgetStyle
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetResources
(
TArray< const FSlateBrush* >& OutBrushes |
Gets the brush resources associated with this style. | Styling/SlateTypes.h | |
virtual const FName GetTypeName() |
Gets the name of this style.This method must be implemented by inherited structures. | Styling/SlateTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FEditableTextBoxStyle & GetDefault() |
Styling/SlateTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEditableTextBoxStyle & operator=
(
const FEditableTextBoxStyle& |
Styling/SlateTypes.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Font_DEPRECATED | FSlateFontInfo | Font family and size to be used when displaying this text. | Styling/SlateTypes.h |