Files
UnrealEngineUWP/Engine/Source/Editor/IntroTutorials/Private/STutorialLoading.cpp
Richard Hinckley af4e486a74 UE-7990 - Fixed with a decent Slate widget.
[CL 2420847 by Richard Hinckley in Main branch]
2015-01-27 14:54:15 -05:00

41 lines
927 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "IntroTutorialsPrivatePCH.h"
#include "STutorialLoading.h"
#include "SThrobber.h"
void STutorialLoading::Construct(const FArguments& InArgs)
{
ContextWindow = InArgs._ContextWindow;
ChildSlot
.VAlign(VAlign_Center)
.HAlign(HAlign_Center)
[
SNew(SBorder)
.VAlign(VAlign_Center)
.HAlign(HAlign_Center)
.BorderImage(FEditorStyle::GetBrush("ToolPanel.GroupBorder"))
[
SNew(SVerticalBox)
+ SVerticalBox::Slot()
.VAlign(VAlign_Top)
.HAlign(HAlign_Center)
[
SNew(SCircularThrobber)
]
+ SVerticalBox::Slot()
.VAlign(VAlign_Top)
.HAlign(HAlign_Center)
[
SNew(STextBlock)
.ShadowColorAndOpacity(FLinearColor::Black)
.ColorAndOpacity(FLinearColor::White)
.ShadowOffset(FIntPoint(-1, 1))
.Font(FSlateFontInfo("Veranda", 16))
.Text(FText::FromString("Loading Tutorial Content"))
]
]
];
}