UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FScrollBoxStyle Struct Reference

#include <SlateTypes.h>

+ Inheritance diagram for FScrollBoxStyle:

Public Member Functions

SLATECORE_API FScrollBoxStyle ()
 
virtual SLATECORE_API ~FScrollBoxStyle ()
 
virtual SLATECORE_API void GetResources (TArray< const FSlateBrush * > &OutBrushes) const override
 
virtual const FName GetTypeName () const override
 
FScrollBoxStyleSetBarThickness (float InBarThickness)
 
FScrollBoxStyleSetTopShadowBrush (const FSlateBrush &InTopShadowBrush)
 
FScrollBoxStyleSetBottomShadowBrush (const FSlateBrush &InBottomShadowBrush)
 
FScrollBoxStyleSetLeftShadowBrush (const FSlateBrush &InLeftShadowBrush)
 
FScrollBoxStyleSetRightShadowBrush (const FSlateBrush &InRightShadowBrush)
 
FScrollBoxStyleSetHorizontalScrolledContentPadding (const FMargin &InPadding)
 
FScrollBoxStyleSetVerticalScrolledContentPadding (const FMargin &InPadding)
 
void UnlinkColors ()
 
- Public Member Functions inherited from FSlateWidgetStyle
SLATECORE_API FSlateWidgetStyle ()
 
virtual SLATECORE_API ~FSlateWidgetStyle ()
 

Static Public Member Functions

static SLATECORE_API const FScrollBoxStyleGetDefault ()
 

Public Attributes

float BarThickness
 
FSlateBrush TopShadowBrush
 
FSlateBrush BottomShadowBrush
 
FSlateBrush LeftShadowBrush
 
FSlateBrush RightShadowBrush
 
FMargin HorizontalScrolledContentPadding = FMargin(0.0f, 0.0f, 1.0f, 0.0f)
 
FMargin VerticalScrolledContentPadding = FMargin(0.0f, 0.0f, 0.0f, 1.0f)
 

Static Public Attributes

static SLATECORE_API const FName TypeName
 

Detailed Description

Represents the appearance of an SScrollBox

Constructor & Destructor Documentation

◆ FScrollBoxStyle()

FScrollBoxStyle::FScrollBoxStyle ( )

◆ ~FScrollBoxStyle()

FScrollBoxStyle::~FScrollBoxStyle ( )
virtualdefault

Member Function Documentation

◆ GetDefault()

const FScrollBoxStyle & FScrollBoxStyle::GetDefault ( )
static

◆ GetResources()

void FScrollBoxStyle::GetResources ( TArray< const FSlateBrush * > &  OutBrushes) const
overridevirtual

Gets the brush resources associated with this style.

This method must be implemented by inherited structures.

Parameters
OutBrushesThe brush resources.

Reimplemented from FSlateWidgetStyle.

◆ GetTypeName()

virtual const FName FScrollBoxStyle::GetTypeName ( ) const
inlineoverridevirtual

Gets the name of this style.

This method must be implemented by inherited structures.

Returns
Widget style name.

Reimplemented from FSlateWidgetStyle.

◆ SetBarThickness()

FScrollBoxStyle & FScrollBoxStyle::SetBarThickness ( float  InBarThickness)
inline

◆ SetBottomShadowBrush()

FScrollBoxStyle & FScrollBoxStyle::SetBottomShadowBrush ( const FSlateBrush InBottomShadowBrush)
inline

◆ SetHorizontalScrolledContentPadding()

FScrollBoxStyle & FScrollBoxStyle::SetHorizontalScrolledContentPadding ( const FMargin InPadding)
inline

◆ SetLeftShadowBrush()

FScrollBoxStyle & FScrollBoxStyle::SetLeftShadowBrush ( const FSlateBrush InLeftShadowBrush)
inline

◆ SetRightShadowBrush()

FScrollBoxStyle & FScrollBoxStyle::SetRightShadowBrush ( const FSlateBrush InRightShadowBrush)
inline

◆ SetTopShadowBrush()

FScrollBoxStyle & FScrollBoxStyle::SetTopShadowBrush ( const FSlateBrush InTopShadowBrush)
inline

◆ SetVerticalScrolledContentPadding()

FScrollBoxStyle & FScrollBoxStyle::SetVerticalScrolledContentPadding ( const FMargin InPadding)
inline

◆ UnlinkColors()

void FScrollBoxStyle::UnlinkColors ( )
inline

Unlinks all colors in this style.

See also
FSlateColor::Unlink

Member Data Documentation

◆ BarThickness

float FScrollBoxStyle::BarThickness

◆ BottomShadowBrush

FSlateBrush FScrollBoxStyle::BottomShadowBrush

Brush used to draw the bottom shadow of a scrollbox

◆ HorizontalScrolledContentPadding

FMargin FScrollBoxStyle::HorizontalScrolledContentPadding = FMargin(0.0f, 0.0f, 1.0f, 0.0f)

Padding scroll panel that presents the scrolled content

◆ LeftShadowBrush

FSlateBrush FScrollBoxStyle::LeftShadowBrush

Brush used to draw the left shadow of a scrollbox

◆ RightShadowBrush

FSlateBrush FScrollBoxStyle::RightShadowBrush

Brush used to draw the right shadow of a scrollbox

◆ TopShadowBrush

FSlateBrush FScrollBoxStyle::TopShadowBrush

Brush used to draw the top shadow of a scrollbox

◆ TypeName

const FName FScrollBoxStyle::TypeName
static

◆ VerticalScrolledContentPadding

FMargin FScrollBoxStyle::VerticalScrolledContentPadding = FMargin(0.0f, 0.0f, 0.0f, 1.0f)

Padding scroll panel that presents the scrolled content


The documentation for this struct was generated from the following files: