feature: remember window size and layout information (#165)

This commit is contained in:
leo 2024-06-11 16:36:52 +08:00
parent 7f2e22def6
commit f977e76ea7
No known key found for this signature in database
GPG key ID: B528468E49CD0E58
8 changed files with 94 additions and 5 deletions

View file

@ -15,6 +15,8 @@
Title="SourceGit"
Background="Transparent"
MinWidth="1280" MinHeight="720"
Width="{Binding Source={x:Static vm:Preference.Instance}, Path=Layout.LauncherWidth, Mode=TwoWay}"
Height="{Binding Source={x:Static vm:Preference.Instance}, Path=Layout.LauncherHeight, Mode=TwoWay}"
WindowStartupLocation="CenterScreen"
ExtendClientAreaToDecorationsHint="True"
ExtendClientAreaChromeHints="NoChrome"