Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SBorder.h |
Include |
#include "Widgets/Layout/SBorder.h" |
class SBorder : public SCompoundWidget
A border is an widget that can be used to contain other widgets. It has a BorderImage property, which allows it to take on different appearances. Border also has a Content() slot as well as some parameters controlling the arrangement of said content.
Name | Description | ||
---|---|---|---|
|
bFlipForRightToLeftFlowDirection |
Flips the image if the localization's flow direction is RightToLeft |
|
|
TAttribute< FSl... |
BorderBackgroundColor |
|
|
BorderImage |
||
|
TAttribute< FVe... |
DesiredSizeScale |
|
|
TAttribute< boo... |
ShowDisabledEffect |
Whether or not to show the disabled effect when this border is disabled |
Name | Description | |
---|---|---|
|
SBorder() |
Default constructor. |
Name | Description | ||
---|---|---|---|
|
ClearContent() |
Clears out the content for the border |
|
|
Construct ( |
Construct this widget |
|
|
const TShare... |
GetContent() |
Gets the content for this border |
|
SetBorderBackgroundColor ( |
Sets the color and opacity of the background image of this border. |
|
|
SetBorderImage ( |
See BorderImage attribute |
|
|
SetContent ( |
Sets the content for this border |
|
|
SetDesiredSizeScale ( |
Set the desired size scale multiplier |
|
|
SetHAlign ( |
See HAlign argument |
|
|
SetPadding ( |
See Padding attribute |
|
|
SetShowEffectWhenDisabled ( |
See ShowEffectWhenDisabled attribute |
|
|
SetVAlign ( |
See VAlign argument |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
Compute the ideal size necessary to display this widget. |
|
|
ComputeVolatility() |
Recomputes the volatility of the widget. |
|
|
OnPaint ( |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
Name |
Description |
|
---|---|---|
|
FArguments |