The main window and dialogs now open at the center of the screen.

This commit is contained in:
ruri
2019-04-29 01:12:34 +02:00
parent c1f780b420
commit 89e00fb9aa
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -12,6 +12,8 @@ namespace OpenBullet
{
InitializeComponent();
WindowStartupLocation = WindowStartupLocation.CenterScreen;
Content = content;
Title = title;
}
+2
View File
@@ -54,6 +54,8 @@ namespace OpenBullet
InitializeComponent();
WindowStartupLocation = WindowStartupLocation.CenterScreen;
Title = title;
titleLabel.Content = title;