UCommonVisualAttachment

Adds a widget as a zero-size attachment to another.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

CommonUI

Header

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/CommonVisualAttachment.h

Include

#include "CommonVisualAttachment.h"

Syntax

UCLASS(ClassGroup=UI, Meta=(Category="Common UI"))
class UCommonVisualAttachment : public USizeBox

Remarks

Adds a widget as a zero-size attachment to another. Think icons to the left of labels, without changing the computed size of the label.

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadOnly

FVector2D

 

ContentAnchor

Constructors

Name Description

Public function

UCommonVisualAttachment

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UWidget

Name Description

Protected function Virtual

TSharedRef< ...

 

RebuildWidget()

Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed.

Protected function Virtual

void

 

SynchronizeProperties()

Applies all properties to the native widget if possible.

Overridden from UVisual

Name Description

Protected function Virtual

void

 

ReleaseSlateResources

(
    bool bReleaseChildren
)