Files
UnrealEngineUWP/Engine/Source/Editor/AddContentDialog/Private/SAddContentDialog.cpp
Matthew Griffin bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00

37 lines
822 B
C++

// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "AddContentDialogPCH.h"
#define LOCTEXT_NAMESPACE "AddContentDialog"
void SAddContentDialog::Construct(const FArguments& InArgs)
{
SAssignNew(AddContentWidget, SAddContentWidget);
SWindow::Construct(SWindow::FArguments()
.Title(LOCTEXT("AddContentDialogTitle", "Add Content to the Project"))
.SizingRule(ESizingRule::UserSized)
.ClientSize(FVector2D(900, 500))
.SupportsMinimize(false)
.SupportsMaximize(false)
[
SNew(SBorder)
.BorderImage(FEditorStyle::GetBrush("ToolPanel.GroupBorder"))
.Padding(FMargin(15))
[
SNew(SVerticalBox)
// Add content widget.
+ SVerticalBox::Slot()
[
AddContentWidget.ToSharedRef()
]
]
]);
}
SAddContentDialog::~SAddContentDialog()
{
}
#undef LOCTEXT_NAMESPACE