FEditableTextBoxStyle

Represents the appearance of an [SEditableTextBox](API\Runtime\Slate\Widgets\Input\SEditableTextBox)

Windows
MacOS
Linux

Inheritance Hierarchy

FSlateWidgetStyle

FEditableTextBoxStyle

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h

Include

#include "Styling/SlateTypes.h"

Syntax

struct FEditableTextBoxStyle : public FSlateWidgetStyle

Remarks

Represents the appearance of an SEditableTextBox

Variables

Name Description

Public variable

FSlateColor

 

BackgroundColor

The background color applied to the active background image

Public variable

FSlateBrush

 

BackgroundImageFocused

Border background image when the box is focused

Public variable

FSlateBrush

 

BackgroundImageHovered

Border background image when the box is hovered

Public variable

FSlateBrush

 

BackgroundImageNormal

Border background image when the box is not hovered or focused

Public variable

FSlateBrush

 

BackgroundImageReadOnly

Border background image when the box is read-only

Public variable

FSlateFontInfo

 

Font

Font family and size to be used when displaying this text.

Public variable

FSlateColor

 

ForegroundColor

The foreground color of text.

Public variable

FMargin

 

HScrollBarPadding

Padding around the horizontal scrollbar

Public variable

FMargin

 

Padding

Padding

Public variable

FSlateColor

 

ReadOnlyForegroundColor

The read-only foreground color of text in read-only mode.

Public variable

FScrollBarStyle

 

ScrollBarStyle

Style used for the scrollbars

Public variable

FMargin

 

VScrollBarPadding

Padding around the vertical scrollbar

Constructors

Name Description

Public function

FEditableTextBoxStyle()

Destructors

Name Description

Public function Virtual

~FEditableTextBoxStyle()

Functions

Name Description

Public function Static

const FEdita...

 

GetDefault()

Public function

FEditableTex...

 

SetBackgroundColor

(
    const FSlateColor& InBackgroundCol...
)

Public function

FEditableTex...

 

SetBackgroundImageFocused

(
    const FSlateBrush& InBackgroundIma...
)

Public function

FEditableTex...

 

SetBackgroundImageHovered

(
    const FSlateBrush& InBackgroundIma...
)

Public function

FEditableTex...

 

SetBackgroundImageNormal

(
    const FSlateBrush& InBackgroundIma...
)

Public function

FEditableTex...

 

SetBackgroundImageReadOnly

(
    const FSlateBrush& InBackgroundIma...
)

Public function

FEditableTex...

 

SetFont

(
    const FSlateFontInfo& InFont
)

Public function

FEditableTex...

 

SetFont

(
    const FName& InFontName,
    uint16 InSize
)

Public function

FEditableTex...

 

SetForegroundColor

(
    const FSlateColor& InForegroundCol...
)

Public function

FEditableTex...

 

SetHScrollBarPadding

(
    const FMargin& InPadding
)

Public function

FEditableTex...

 

SetPadding

(
    const FMargin& InPadding
)

Public function

FEditableTex...

 

SetReadOnlyForegroundColor

(
    const FSlateColor& InReadOnlyForeg...
)

Public function

FEditableTex...

 

SetScrollBarStyle

(
    const FScrollBarStyle& InScrollBar...
)

Public function

FEditableTex...

 

SetVScrollBarPadding

(
    const FMargin& InPadding
)

Public function

void

 

UnlinkColors()

Unlinks all colors in this style.

Overridden from FSlateWidgetStyle

Name Description

Public function Virtual Const

void

 

GetResources

(
    TArray< const FSlateBrush* >&...
)

Gets the brush resources associated with this style.

Public function Virtual Const

const FName

 

GetTypeName()

Gets the name of this style.

This method must be implemented by inherited structures.

Constants

Name

Description

TypeName

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss