Browse Source

Make the crash report windows spawn in the center of the screen

Equbuxu 3 years ago
parent
commit
9781ad1360

+ 1 - 0
PixiEditor/Views/Dialogs/CrashReportDialog.xaml

@@ -10,6 +10,7 @@
         Background="{StaticResource AccentColor}" Foreground="White"
         Title="PixiEditor has crashed!" WindowStyle="None"
         MinWidth="450" MinHeight="195"
+        WindowStartupLocation="CenterScreen"
         Width="480" Height="180">
 
     <WindowChrome.WindowChrome>

+ 1 - 0
PixiEditor/Views/Dialogs/SendCrashReportWindow.xaml

@@ -8,6 +8,7 @@
         Background="{StaticResource AccentColor}" Foreground="White"
         Title="Send crash report"
         WindowStyle="None"
+        WindowStartupLocation="CenterScreen"
         Height="170" Width="340">
     <Window.Resources>
         <Style TargetType="TextBlock">