Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
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
| Type | Name | Description | |
|---|---|---|---|
| FSlateFontInfo | ActiveFontInfo | Font to use for the text box part of the search box when a search term is entered | |
| bool | bLeftAlignGlassImageAndClearButton | If true, glass image and clear button appear to the left of the search text | |
| bool | bLeftAlignSearchResultButtons | If true, search result buttons appear to the left of the search text | |
| FSlateBrush | ClearImage | Image to use for the search "clear" button | |
| FSlateBrush | DownArrowImage | Image to use for the search "down" arrow | |
| FSlateBrush | GlassImage | Image to use for the search "glass" | |
| FMargin | ImagePadding | Padding to use around the images | |
| FEditableTextBoxStyle | TextBoxStyle | Style to use for the text box part of the search box | |
| FSlateBrush | UpArrowImage | Image to use for the search "up" arrow |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FSearchBoxStyle & | GetDefault () |
||
| FSearchBoxStyle & | SetActiveFont
(
const FSlateFontInfo& InFontInfo |
||
| FSearchBoxStyle & | SetClearImage
(
const FSlateBrush& InClearImage |
||
| FSearchBoxStyle & | SetDownArrowImage
(
const FSlateBrush& InDownArrowImage |
||
| FSearchBoxStyle & | SetGlassImage
(
const FSlateBrush& InGlassImage |
||
| FSearchBoxStyle & | SetImagePadding
(
const FMargin& InImagePadding |
||
| FSearchBoxStyle & | SetLeftAlignButtons
(
bool bInLeftAlignButtons |
||
| FSearchBoxStyle & | SetLeftAlignGlassImageAndClearButton
(
bool bInLeftAlignGlassImageAndClearButton |
||
| FSearchBoxStyle & | SetLeftAlignSearchResultButtons
(
bool bInLeftAlignSearchResultButtons |
||
| FSearchBoxStyle & | SetTextBoxStyle
(
const FEditableTextBoxStyle& InTextBoxStyle |
||
| FSearchBoxStyle & | SetUpArrowImage
(
const FSlateBrush& InUpArrowImage |
Overridden from FSlateWidgetStyle
| Type | Name | Description | |
|---|---|---|---|
| void | GetResources
(
TArray< const FSlateBrush* >& OutBrushes |
Gets the brush resources associated with this style. | |
| const FName | GetTypeName () |
Gets the name of this style.This method must be implemented by inherited structures. |
Constants
| Name | Description |
|---|---|
| TypeName |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bLeftAlignButtons_DEPRECATED | If true, buttons appear to the left of the search text |