Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Styling/CoreStyle.h |
Include |
#include "Styling/CoreStyle.h" |
static const ISlateStyle & Get()
Until the Editor can be fully updated, calling FCoreStyle::Get() will return the AppStyle instead of the style definied in this class. Using the AppStyle is preferred in most cases as it allows the style to be changed and restyled more easily.
In cases requiring explicit use of the CoreStyle where a Slate Widget should not take on the appearance of the rest of the application, use FCoreStyle::GetCoreStyle().
the Application Style