Files
UnrealEngineUWP/Engine/Source/Editor/AddContentDialog/Private/SAddContentDialog.cpp
Matt Kuhlenschmidt 6c7de7284d Reskin "Add Content/Feature Pack" dialog.
[CL 16005687 by Matt Kuhlenschmidt in ue5-main branch]
2021-04-14 11:08:21 -04:00

34 lines
752 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "SAddContentDialog.h"
#include "Widgets/Layout/SBorder.h"
#include "EditorStyleSet.h"
#include "SAddContentWidget.h"
#define LOCTEXT_NAMESPACE "AddContentDialog"
void SAddContentDialog::Construct(const FArguments& InArgs)
{
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("Brushes.Panel"))
.Padding(FMargin(10,0))
[
SNew(SAddContentWidget)
]
]);
}
SAddContentDialog::~SAddContentDialog()
{
}
#undef LOCTEXT_NAMESPACE