#jira UE-21185

Update buttons on CrashReporter window to encourage submission

[CL 2704880 by Jaroslaw Surowiec in Main branch]
This commit is contained in:
Jaroslaw Surowiec
2015-09-24 14:43:48 -04:00
committed by Jaroslaw.Surowiec@peoplecanfly.com
parent ea6f5617f1
commit faaff4f5be

View File

@@ -243,17 +243,7 @@ void SCrashReportClient::Construct(const FArguments& InArgs, TSharedRef<FCrashRe
.Padding( FMargin(4, 4+16, 4, 4) )
[
SNew(SHorizontalBox)
+SHorizontalBox::Slot()
.FillWidth(1.0f)
.HAlign(HAlign_Left)
.VAlign(VAlign_Center)
.Padding(0)
[
SNew(SSpacer)
]
+ SHorizontalBox::Slot()
.HAlign( HAlign_Center )
.VAlign( VAlign_Center )
@@ -266,6 +256,15 @@ void SCrashReportClient::Construct(const FArguments& InArgs, TSharedRef<FCrashRe
.OnClicked( Client, &FCrashReportClient::CloseWithoutSending )
]
+SHorizontalBox::Slot()
.FillWidth(1.0f)
.HAlign(HAlign_Left)
.VAlign(VAlign_Center)
.Padding(0)
[
SNew(SSpacer)
]
+SHorizontalBox::Slot()
.HAlign(HAlign_Center)
.VAlign(VAlign_Center)
@@ -274,8 +273,8 @@ void SCrashReportClient::Construct(const FArguments& InArgs, TSharedRef<FCrashRe
[
SNew(SButton)
.ContentPadding( FMargin(8,2) )
.Text(LOCTEXT("SendAndRestartEditor", "Send and Restart"))
.OnClicked(Client, &FCrashReportClient::SubmitAndRestart)
.Text(LOCTEXT("Send", "Send and Close"))
.OnClicked(Client, &FCrashReportClient::Submit)
]
+SHorizontalBox::Slot()
@@ -286,9 +285,9 @@ void SCrashReportClient::Construct(const FArguments& InArgs, TSharedRef<FCrashRe
[
SNew(SButton)
.ContentPadding( FMargin(8,2) )
.Text(LOCTEXT("Send", "Send"))
.OnClicked(Client, &FCrashReportClient::Submit)
]
.Text(LOCTEXT("SendAndRestartEditor", "Send and Restart"))
.OnClicked(Client, &FCrashReportClient::SubmitAndRestart)
]
]
]
];