SWindow::ReshapeWindow

Relocate the window to a screenspace position specified by NewPosition and resize it to NewSize

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h

Include

#include "Widgets/SWindow.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWindow.cpp

Syntax

void ReshapeWindow
(
    FVector2D NewPosition,
    FVector2D NewSize
)

Remarks

Relocate the window to a screenspace position specified by NewPosition and resize it to NewSize