Styling

Choose your operating system:

Windows

macOS

Linux

Classes

Name

Description

Public class

FAppStyle

AppStyle class

Public struct

FButtonStyle

Represents the appearance of an SButton

Public struct

FCheckBoxStyle

Represents the appearance of an SCheckBox

Public struct

FComboBoxStyle

Represents the appearance of an SComboBox

Public struct

FComboButtonStyle

Represents the appearance of an SComboButton

Public class

FCoreStyle

Core slate style

Public struct

FDockTabStyle

Represents the appearance of an SDockTab

Public struct

FEditableTextBoxStyle

Represents the appearance of an SEditableTextBox

Public struct

FEditableTextStyle

Represents the appearance of an SEditableText

Public struct

FExpandableAreaStyle

Represents the appearance of an SExpandableArea

Public struct

FHeaderRowStyle

Represents the appearance of an SHeaderRow

Public struct

FHyperlinkStyle

Represents the appearance of an SHyperlink

Public struct

FInlineEditableTextBlockStyle

Represents the appearance of an SInlineEditableTextBlock

Public struct

FInlineTextImageStyle

Represents the appearance of an inline image used by rich text

Public class

FInvalidatableBrushAttribute

Public struct

FProgressBarStyle

Represents the appearance of an SProgressBar

Public struct

FScrollBarStyle

Represents the appearance of an SScrollBar

Public struct

FScrollBorderStyle

Represents the appearance of an FScrollBorderStyle

Public struct

FScrollBoxStyle

Represents the appearance of an SScrollBox

Public struct

FSearchBoxStyle

Represents the appearance of an SSearchBox

Public struct

FSegmentedControlStyle

Represents the appearance of an SSegmentedControl

Public struct

FSlateBrush

An brush which contains information about how to draw a Slate element

Public struct

FSlateBrushOutlineSettings

Possible options for rounded box brush image

Public struct

FSlateColor

A Slate color can be a directly specified value, or the color can be pulled from a WidgetStyle.

Public class

FSlateIconFinder

Class used for finding icons within a registered set of styles

Public class

FSlateStyleRegistry

A central repository that can be used to track and manage chunks of slate style data.

Public class

FSlateStyleSet

A slate style chunk that contains a collection of named properties that guide the appearance of Slate.

Public struct

FSlateWidgetStyle

Base structure for widget styles.

Public struct

FSliderStyle

Represents the appearance of an SSlider

Public struct

FSpinBoxStyle

Represents the appearance of an SSpinBox

Public struct

FSplitterStyle

Represents the appearance of an SSplitter

Public class

FStarshipCoreStyle

Core slate style

Public struct

FStyleColorList

Public struct

FStyleColors

Common/themeable colors used by all styles Please avoid adding new generic colors to this list without discussion first

Public class

FStyleDefaults

Copyright Epic Games, Inc. All Rights Reserved.

Public struct

FStyleFonts

Public struct

FStyleTheme

Represents a single theme

Public struct

FTableColumnHeaderStyle

Represents the appearance of an STableColumnHeader

Public struct

FTableRowStyle

Represents the appearance of an STableRow

Public struct

FTableViewStyle

Represents the appearance of an STableView

Public struct

FTextBlockStyle

Represents the appearance of an STextBlock

Public struct

FToolBarStyle

Represents the appearance of a toolbar

Public class

FUMGCoreStyle

Core slate style

Public struct

FVolumeControlStyle

Represents the appearance of an SVolumeControl

Public class

FWidgetStyle

Contains info about those aspects of widget appearance that should be propagated hierarchically.

Public struct

FWindowStyle

Represents the appearance of an SWindow

Public class

ISlateBrushSource

Provides a means to hold onto the source of a slate brush.

Public class

ISlateStyle

Public class

ISlateWidgetStyleContainerInterface

Public class

USlateThemeManager

Public class

USlateTypes

HACK: We need a UClass here or UHT will complain.

Public class

USlateWidgetStyleAsset

Just a wrapper for the struct with real data in it.

Public class

USlateWidgetStyleContainerBase

Just a wrapper for the struct with real data in it.

Public class

USlateWidgetStyleContainerInterface

Constants

Enums

Name

Description

Public enum

ECheckBoxState

Current state of the check box

Public enum

EConsumeMouseWheel

Used to determine how we should handle mouse wheel input events when someone scrolls.

Public enum

ESlateBrushDrawType::Type

Enumerates ways in which an image can be drawn.

Public enum

ESlateBrushImageType::Type

Enumerates brush image types.

Public enum

ESlateBrushMirrorType::Type

Possible options for mirroring the brush image

Public enum

ESlateBrushRoundingType::Type

Enumerates rounding options

Public enum

ESlateBrushTileType::Type

Enumerates tiling options for image drawing.

Public enum

ESlateCheckBoxType::Type

Type of check box

Public enum

ESlateColorStylingMode

Enumerates types of color values that can be held by Slate color.

Public enum

ESlateParentWindowSearchMethod

Used to determine which search method we should use when finding a suitable parent window

Public enum

EStyleColor

If you add another color here, you should update the Dark.json theme file in Engine & FUMGColors in UMGCoreStyle.cpp for consistency

Public enum

ETextOverflowPolicy

The different methods that can be used to determine what happens to text when it is longer than its allowed length

Public enum

ETextTransformPolicy

Text transformation policy that can be applied to the text before displaying it.

Functions

Name Description

Public function

const FMargi...

 

CoreStyleConstants::ButtonMargins

(
    12. f,
    1. 5f,
    12. f,
    1. 5f
)

Buttons already have a built in (4., 2.) padding - adding to that a little.

Public function

const FMargi...

 

CoreStyleConstants::ComboButtonMargin

(
    8. f,
    1. f,
    8. f,
    1. f
)

Public function

const FMargi...

 

CoreStyleConstants::DefaultMargins

(
    8. f,
    4. f
)

Common Margins.

Public function

const FVecto...

 

CoreStyleConstants::Icon10x10

(
    10. 0f,
    10. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon128x128

(
    128. 0f,
    128. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon12x12

(
    12. 0f,
    12. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon12x16

(
    12. 0f,
    16. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon14x14

(
    14. 0f,
    14. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon16x16

(
    16. 0f,
    16. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon16x4

(
    16. 0f,
    4. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon18x18

(
    18. 0f,
    18. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon20x20

(
    20. 0f,
    20. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon22x22

(
    22. 0f,
    22. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon24x24

(
    24. 0f,
    24. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon25x25

(
    25. 0f,
    25. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon32x32

(
    32. 0f,
    32. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon36x24

(
    36. 0f,
    24. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon40x40

(
    40. 0f,
    40. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon5x16

(
    5. 0f,
    16. 0f
)

Note, these sizes are in Slate Units. Slate Units do NOT have to map to pixels.

Public function

const FVecto...

 

CoreStyleConstants::Icon64x64

(
    64. 0f,
    64. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon8x4

(
    8. 0f,
    4. 0f
)

Public function

const FVecto...

 

CoreStyleConstants::Icon8x8

(
    8. 0f,
    8. 0f
)

Public function

const FMargi...

 

CoreStyleConstants::PressedButtonMargins

(
    12. f,
    2. 5f,
    12. f,
    0. 5f
)

Public function

const FMargi...

 

CoreStyleConstants::PressedComboButtonMargin

(
    8. f,
    2. f,
    8. f,
    0. f
)

Public function

const FMargi...

 

CoreStyleConstants::ToggleButtonMargins

(
    16. 0f,
    2. 0f
)

Variables

Name Description

Public variable

const float

 

InputFocusRadius

Public variable

const float

 

InputFocusThickness