Navigation
API > API/Plugins > API/Plugins/CommonUI
Inheritance Hierarchy
- UBorder
- UCommonBorder
- UCommonHardwareVisibilityBorder
- UDEPRECATED_UCommonVisibilityWidgetBase
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonBorder.h |
| Include | #include "CommonBorder.h" |
Syntax
UCLASS (Config=CommonUI, defaultconfig, ClassGroup=UI,
Meta=(Category="Common UI", DisplayName="Common Border"))
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, |
||
| const FText | |||
| void | |||
| void | OnDesignerChanged
(
const FDesignerChangedEventArgs& EventArgs |
||
| void | PostLoad () |
||
| TSharedRef< SWidget > | |||
| void | ReleaseSlateResources
(
bool bReleaseChildren |
||
| void | |||
| void | SetStyle
(
TSubclassOf< UCommonBorderStyle > InStyle |
||
| void |