Source control dialog cleanup and reskin

[CL 15178205 by Matt Kuhlenschmidt in ue5-main branch]
This commit is contained in:
Matt Kuhlenschmidt
2021-01-25 11:45:57 -04:00
parent ea88af3cd6
commit 22268eca5f
11 changed files with 862 additions and 1016 deletions

View File

@@ -126,7 +126,7 @@ void FSourceControlModule::ShowLoginDialog(const FSourceControlLoginClosed& InOn
// Create the window
SourceControlLoginWindowPtr = SNew(SWindow)
.Title( LOCTEXT("SourceControlLoginTitle", "Source Control Login") )
.HasCloseButton(false)
.HasCloseButton(true)
.SupportsMaximize(false)
.SupportsMinimize(false)
.SizingRule( ESizingRule::Autosized );
@@ -136,13 +136,9 @@ void FSourceControlModule::ShowLoginDialog(const FSourceControlLoginClosed& InOn
// Setup the content for the created login window.
SourceControlLoginWindowPtr->SetContent(
SNew(SBox)
.WidthOverride(700.0f)
[
SAssignNew(SourceControlLoginPtr, SSourceControlLogin)
.ParentWindow(SourceControlLoginWindowPtr)
.OnSourceControlLoginClosed(InOnSourceControlLoginClosed)
]
);
TSharedPtr<SWindow> RootWindow = FGlobalTabmanager::Get()->GetRootWindow();