Files
UnrealEngineUWP/Engine/Source/Editor/AddContentDialog/Private/SAddContentDialog.cpp
bryan sefcik 8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00

39 lines
889 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "SAddContentDialog.h"
#include "Internationalization/Internationalization.h"
#include "Layout/Margin.h"
#include "Math/Vector2D.h"
#include "Misc/Attribute.h"
#include "SAddContentWidget.h"
#include "Styling/AppStyle.h"
#include "Widgets/Layout/SBorder.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(FAppStyle::GetBrush("Brushes.Panel"))
.Padding(FMargin(10,0))
[
SNew(SAddContentWidget)
]
]);
}
SAddContentDialog::~SAddContentDialog()
{
}
#undef LOCTEXT_NAMESPACE