Is there an event or function firing after a userwidget has been fully created?

Hi,

is there any event that fires, or a function in C++ I can hook into after a userwidget has been fully created? I already tried the following functions, but they are fired (slightly) before fully creation:

void UUserWidget::NativeOnInitialized()
void UUserWidget::NativePreConstruct()
void UUserWidget::NativeConstruct()

tldr; context:

I have a menu that opens in the corner of the screen and in order to place the mouse cursor in its center I have to calculate the viewport position based on cached geometry. It is working fine, however I have to place a delay of 50 ms after EventConstruct in order to have it calculated correctly.

Great that it works on my computer, but this dirty way using a time guess might not work somewhere else. See my Blueprint (UUserWidget) version:

Thanks in advance!

Try OnWidgetRebuilt

Thanks for the answer, but that doesn’t do the job unfortunately. The position is the same uninitialized x,y values as when using one of the methods mentioned above without delay.