FSpinBoxStyle

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

Windows
MacOS
Linux

Inheritance Hierarchy

FSlateWidgetStyle

FSpinBoxStyle

References

Module

SlateCore

Header

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

Include

#include "Styling/SlateTypes.h"

Syntax

struct FSpinBoxStyle : public FSlateWidgetStyle

Remarks

Represents the appearance of an SSpinBox

Variables

Name Description

Public variable

FSlateBrush

 

ActiveFillBrush

Brush used to fill the spinbox when it's active

Public variable

FSlateBrush

 

ArrowsImage

Image used to draw the spinbox arrows

Public variable

FSlateBrush

 

BackgroundBrush

Brush used to draw the background of the spinbox

Public variable

FSlateColor

 

ForegroundColor

Color used to draw the spinbox foreground elements

Public variable

FSlateBrush

 

HoveredBackgroundBrush

Brush used to draw the background of the spinbox when it's hovered over

Public variable

FSlateBrush

 

InactiveFillBrush

Brush used to fill the spinbox when it's inactive

Public variable

FMargin

 

TextPadding

Padding to add around the spinbox and its text

Constructors

Name Description

Public function

FSpinBoxStyle()

Destructors

Name Description

Public function Virtual

~FSpinBoxStyle()

Functions

Name Description

Public function Static

const FSpinB...

 

GetDefault()

Public function

FSpinBoxStyl...

 

SetActiveFillBrush

(
    const FSlateBrush& InActiveFillBru...
)

Public function

FSpinBoxStyl...

 

SetArrowsImage

(
    const FSlateBrush& InArrowsImage
)

Public function

FSpinBoxStyl...

 

SetBackgroundBrush

(
    const FSlateBrush& InBackgroundBru...
)

Public function

FSpinBoxStyl...

 

SetForegroundColor

(
    const FSlateColor& InForegroundCol...
)

Public function

FSpinBoxStyl...

 

SetHoveredBackgroundBrush

(
    const FSlateBrush& InHoveredBackgr...
)

Public function

FSpinBoxStyl...

 

SetInactiveFillBrush

(
    const FSlateBrush& InInactiveFillB...
)

Public function

FSpinBoxStyl...

 

SetTextPadding

(
    const FMargin& InTextPadding
)

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