Files
UnrealEngineUWP/Engine/Source/Editor/AddContentDialog/Private/SAddContentDialog.cpp
Frank Fella a82edb0602 AddContentDialog - Minor additions.
+ Refresh feature packs automatically when they change on disk.
+ Remove drag and drop and batch install, and replace it with a single button for installing in the details section.
+ Don't allow multiple copies of the dialog to be opened.
+ Fix a missing brush visible when resizing the dialog.
+ Fix an issue where brushes in the dialog could get deleted resulting in white images.

[CL 2385434 by Frank Fella in Main branch]
2014-12-11 09:08:57 -05:00

37 lines
822 B
C++

// Copyright 1998-2015 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