소스 검색

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

Equbuxu 3 년 전
부모
커밋
9781ad1360
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      PixiEditor/Views/Dialogs/CrashReportDialog.xaml
  2. 1 0
      PixiEditor/Views/Dialogs/SendCrashReportWindow.xaml

+ 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">