feature<Launcher>: set WindowStartupLocation="CenterScreen"

This commit is contained in:
leo 2021-05-13 16:27:52 +08:00
parent c7a57877e0
commit 59c33c23a2

View file

@ -11,6 +11,7 @@
UseLayoutRounding="True" UseLayoutRounding="True"
Title="{StaticResource Text.About.Title}" Title="{StaticResource Text.About.Title}"
MinWidth="1280" MinHeight="720" MinWidth="1280" MinHeight="720"
WindowStartupLocation="CenterScreen"
Width="{Binding Source={x:Static models:Preference.Instance}, Path=Window.Width, Mode=TwoWay}" Width="{Binding Source={x:Static models:Preference.Instance}, Path=Window.Width, Mode=TwoWay}"
Height="{Binding Source={x:Static models:Preference.Instance}, Path=Window.Height, Mode=TwoWay}"> Height="{Binding Source={x:Static models:Preference.Instance}, Path=Window.Height, Mode=TwoWay}">
<WindowChrome.WindowChrome> <WindowChrome.WindowChrome>