SWindow::GetTitleBarSize

Returns the size of the title bar as a Slate size parameter.

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

FOptionalSize GetTitleBarSize() const

Remarks

Returns the size of the title bar as a Slate size parameter. Does not take into account application scale!

Returns

Title bar size