2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-11-07 09:55:57 -05:00
|
|
|
|
|
|
|
|
#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)
|
2014-12-11 09:08:57 -05:00
|
|
|
.ClientSize(FVector2D(900, 500))
|
2014-11-07 09:55:57 -05:00
|
|
|
.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()
|
|
|
|
|
{
|
2014-11-07 13:16:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#undef LOCTEXT_NAMESPACE
|