FSearchBoxStyle

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

Windows
MacOS
Linux

Inheritance Hierarchy

FSlateWidgetStyle

FSearchBoxStyle

References

Module

SlateCore

Header

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

Include

#include "Styling/SlateTypes.h"

Syntax

struct FSearchBoxStyle : public FSlateWidgetStyle

Remarks

Represents the appearance of an SSearchBox

Variables

Name Description

Public variable

FSlateFontInfo

 

ActiveFontInfo

Font to use for the text box part of the search box when a search term is entered

Public variable

bool

 

bLeftAlignButtons

If true, buttons appear to the left of the search text

Public variable

FSlateBrush

 

ClearImage

Image to use for the search "clear" button

Public variable

FSlateBrush

 

DownArrowImage

Image to use for the search "down" arrow

Public variable

FSlateBrush

 

GlassImage

Image to use for the search "glass"

Public variable

FMargin

 

ImagePadding

Padding to use around the images

Public variable

FEditableTextBo...

 

TextBoxStyle

Style to use for the text box part of the search box

Public variable

FSlateBrush

 

UpArrowImage

Image to use for the search "up" arrow

Constructors

Name Description

Public function

FSearchBoxStyle()

Destructors

Name Description

Public function Virtual

~FSearchBoxStyle()

Functions

Name Description

Public function Static

const FSearc...

 

GetDefault()

Public function

FSearchBoxSt...

 

SetActiveFont

(
    const FSlateFontInfo& InFontInfo
)

Public function

FSearchBoxSt...

 

SetClearImage

(
    const FSlateBrush& InClearImage
)

Public function

FSearchBoxSt...

 

SetDownArrowImage

(
    const FSlateBrush& InDownArrowImag...
)

Public function

FSearchBoxSt...

 

SetGlassImage

(
    const FSlateBrush& InGlassImage
)

Public function

FSearchBoxSt...

 

SetImagePadding

(
    const FMargin& InImagePadding
)

Public function

FSearchBoxSt...

 

SetLeftAlignButtons

(
    bool bInLeftAlignButtons
)

Public function

FSearchBoxSt...

 

SetTextBoxStyle

(
    const FEditableTextBoxStyle& InTex...
)

Public function

FSearchBoxSt...

 

SetUpArrowImage

(
    const FSlateBrush& InUpArrowImage
)

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