Navigation
Unreal Engine C++ API Reference > Plugins > CommonUI
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UPanelWidget
- UContentWidget
- UBorder
- UCommonBorder
- UCommonHardwareVisibilityBorder
- UDEPRECATED_UCommonVisibilityWidgetBase
References
Module | CommonUI |
Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonBorder.h |
Include | #include "CommonBorder.h" |
Syntax
UCLASS&40;Config&61;CommonUI, defaultconfig, ClassGroup&61;UI,
Meta&61;&40;Category&61;"Common UI", DisplayName&61;"Common Border"&41;&41;
class UCommonBorder : public UBorder
Remarks
Uses the border style template defined in CommonUI project settings by default
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
bool | bReducePaddingBySafezone | Turning this on will cause the safe zone size to be removed from this borders content padding down to the minimum specified |
![]() ![]() |
bool | bStyleNoLongerNeedsConversion | Used to track widgets that were created before changing the default style pointer to null |
![]() |
TOptional< FVector2D > | DesignerSize | The editor-only size constraint passed in by UMG Designer |
![]() ![]() ![]() ![]() |
FMargin | MinimumPadding | The minimum padding we will reduce to when the safezone grows |
![]() ![]() ![]() ![]() |
TSubclassOf< UCommonBorderStyle > | Style | References the border style to use |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UCommonBorder
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | DebugSafeAreaUpdated
(
const FMargin& NewSafeZone, |
|
![]() |
void | ||
![]() ![]() ![]() |
void | SetStyle
(
TSubclassOf< UCommonBorderStyle > InStyle |
Overridden from UWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const FText | Gets the palette category of the widget | |
![]() ![]() |
void | Called after constructing a new widget from the palette. | |
![]() ![]() |
void | OnDesignerChanged
(
const FDesignerChangedEventArgs& EventArgs |
|
![]() ![]() |
TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | |
![]() ![]() |
void | Applies all properties to the native widget if possible. |
Overridden from UVisual
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ReleaseSlateResources
(
bool bReleaseChildren |